> ERROR in Entry module not found: Error: Can't...
# javascript
s
ERROR in Entry module not found: Error: Can't resolve '/home/sdeleuze/workspace/kotlin-examples/gradle/js-dce/build/classes/main/min/kotlin-dce-example_main.js'
k
That's because of how default module names are assigned by Gradle. 1.1.50 changed this, now it does not add
_main
suffix
s
Indeed it works without the suffix thanks
If you could fix the example for other people coming after me 😉
g
I still find that having _main as a suffix is not a good idea. Even the symetry with the _test module seems not enought. I think that nobody will release a js file like my-project_main. So it forces everyone to modify this default name in the configuration. Shouldn’t the convention fit with the majority?
s
But as of 1.1.50 it seems there is no more
_main
suffix since it worked when I removed it in
webpack.config.js
.
Are you asking something else ?
g
Ahah, I read to quickly. I still have the configuration to remove the suffix, so I didn't notice the modification.
👍 1