es6-tutorial
es6-tutorial copied to clipboard
npm run webpack throwing Option validation error
Following the tutorial @ http://ccoenraets.github.io/es6-tutorial/setup-webpack/, I'm getting an error when trying to run webpack.
ValidationError: config-loader
Options Validation Error
options.module should match some schema in anyOf options.module['loaders'] is an invalid additional property
Not sure where to start with debugging this.
@oberoc In webpack config change the word loaders to rules. Fixed it for me.