webpack
webpack copied to clipboard
webpack-second 的 webpack.config.js copy-webpack-plugin写法好像有错
应该为
new CopyWebpackPlugin({ patterns:[ { from: 'public/js/*.js', to: path.resolve(__dirname, 'dist', 'js'), flatten: true, } ] })