1.0.1 • Published 5 years ago
webpack-done-plugin v1.0.1
webpack-done-plugin
USE
if (env == 'p') {
plugins.push(
new WebpackDonePlugin({
cb(results) {
// after webpack build, this command will execute
execSync('npm run copy')
}
})
)
}