JS in a gradle multi module project and using kotl...
# javascript
h
JS in a gradle multi module project and using kotlin multiplatform: How do you config js webpack? I created a new folder in my root project:
webpack.config.d
containing the config.js files, but I still get his error:
Copy code
Execution failed for task ':web:jsBrowserProductionWebpack'.
> Module not found: Error: Can't resolve 'path' in '/Users/philipwedemann/GitHub/ComposeTodo/build/js/node_modules/sql.js/dist'
1
g
Can you share your folder structure
h
Sorry, fixed it: https://github.com/hfhbd/ComposeTodo/pull/452 I moved the
webpack.config.d
into the
web
module folder.
s
I checked the PR and tried, it fixes a similar issue I had. Can someone help me understand how it resolves the error?