I learn React and try to build my own setup of webpack5 + babel and I have this error message in my console after run yarn build
. Any ideas on how to fix that or what I did wrong?
Failed to load '/Users/admin/webpackFuel/webpack.config.js' config Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema.
options[0] misses the property 'patterns'. Should be: [non-empty string | object { from, to?, context?, globOptions?, filter?, toType?, force?, info?, transform?, transformPath?, noErrorOnMissing? }, ...] (should not have fewer than 1 item)