Getting IntelliJ compile JS project to same target dir as Maven


#1

Hi,

I’ve setup a simple project Kotlin JS using Maven as described here:

When compiling with maven, then both my compiled code and kotlin.js is built to directory target/js

However when compiling using IntelliJ, then both my compiled code and kotlin.js is built to target/classes

Is there a way to get IntelliJ to adjust?


#2

Looks like this bug: https://youtrack.jetbrains.com/issue/KT-22586
cc @cy6erGn0m


#3

Thanks for the feedback!

Hope you guys will be able to solve this in the near future as it would be much nicer if IntelliJ could understand the Maven project fully so that the developer could compile using IntelliJ instead of Maven.