Remove webpack shell plugin for webpack because it've been solved in another way

This commit is contained in:
Wu Cheng-Han 2016-11-28 03:19:15 +08:00
parent 1ea84c2fb0
commit b081302f3d
2 changed files with 1 additions and 6 deletions

View File

@ -157,7 +157,6 @@
"script-loader": "^0.7.0", "script-loader": "^0.7.0",
"style-loader": "^0.13.1", "style-loader": "^0.13.1",
"url-loader": "^0.5.7", "url-loader": "^0.5.7",
"webpack": "^1.13.2", "webpack": "^1.13.2"
"webpack-shell-plugin": "^0.4.3"
} }
} }

View File

@ -3,13 +3,9 @@ var path = require('path');
var ExtractTextPlugin = require("extract-text-webpack-plugin"); var ExtractTextPlugin = require("extract-text-webpack-plugin");
var HtmlWebpackPlugin = require('html-webpack-plugin'); var HtmlWebpackPlugin = require('html-webpack-plugin');
var CopyWebpackPlugin = require('copy-webpack-plugin'); var CopyWebpackPlugin = require('copy-webpack-plugin');
var WebpackShellPlugin = require('webpack-shell-plugin');
module.exports = { module.exports = {
plugins: [ plugins: [
new WebpackShellPlugin({
onBuildStart: ['cd node_modules/codemirror && npm install && ./release.sh']
}),
new webpack.ProvidePlugin({ new webpack.ProvidePlugin({
Visibility: "visibilityjs", Visibility: "visibilityjs",
Cookies: "js-cookie", Cookies: "js-cookie",