I had to change -d to --devtool source-map in line 6 in config.rb: "./node_modules/webpack/bin/webpack.js --watch -d --progress --color"
Otherwise I would get this error:
[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
Thank you! This helped me a lot!!! 💙
I had to change
-d
to--devtool source-map
in line 6 in config.rb:"./node_modules/webpack/bin/webpack.js --watch -d --progress --color"
Otherwise I would get this error:
Thanks for this! I'm glad it was useful :D