Getting IntelliJ compile JS project to same target dir as Maven

Hi,

I’ve setup a simple project Kotlin JS using Maven as described here:
https://kotlinlang.org/docs/tutorials/javascript/getting-started-maven/getting-started-with-maven.html

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?

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

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.