This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
v2.2.0
- Remove copy task in favor of copy-webpack-plugin
You will need to modify your webpack.babel.config.js
to include the following:
...
import webpack from 'webpack';
import CopyWebpackPlugin from 'copy-webpack-plugin';
...
let plugins = [
new CopyWebpackPlugin([{ from: './public' }]),
...
];
Also remember to run npm install copy-webpack-plugin --save-dev
To verify this change you can run npm run dist
or npm run dev
.