Spaces:
Build error
Build error
Update webpack.config.js
Browse files- webpack.config.js +2 -1
webpack.config.js
CHANGED
@@ -11,6 +11,7 @@ var defaultsdeep = require('lodash.defaultsdeep');
|
|
11 |
//var GhPagesWebpackPlugin = require('gh-pages-webpack-plugin');
|
12 |
|
13 |
|
|
|
14 |
// PostCss
|
15 |
var autoprefixer = require('autoprefixer');
|
16 |
var postcssVars = require('postcss-simple-vars');
|
@@ -120,7 +121,7 @@ if (!process.env.CI) {
|
|
120 |
base.plugins.push(new webpack.ProgressPlugin());
|
121 |
}
|
122 |
base.plugins.push(new WebpackShellPluginNext({
|
123 |
-
|
124 |
scripts: ['./upload.sh'],
|
125 |
blocking: true, // ビルド完了まで待つ
|
126 |
parallel: false
|
|
|
11 |
//var GhPagesWebpackPlugin = require('gh-pages-webpack-plugin');
|
12 |
|
13 |
|
14 |
+
|
15 |
// PostCss
|
16 |
var autoprefixer = require('autoprefixer');
|
17 |
var postcssVars = require('postcss-simple-vars');
|
|
|
121 |
base.plugins.push(new webpack.ProgressPlugin());
|
122 |
}
|
123 |
base.plugins.push(new WebpackShellPluginNext({
|
124 |
+
onBuildEnd: {
|
125 |
scripts: ['./upload.sh'],
|
126 |
blocking: true, // ビルド完了まで待つ
|
127 |
parallel: false
|