Skip to content
Permalink
Browse files

Update packages to split up devDependencies, set webpack conf to be p…

…roduction by default
  • Loading branch information...
overshard committed Jul 4, 2018
1 parent 51231d2 commit 1d835f6204e7370740f53666de48988ff8fba275
Showing with 1,438 additions and 213 deletions.
  1. +2 −1 .eslintrc
  2. +0 −1 gulpfile.js/index.js
  3. +3 −3 gulpfile.js/tasks/build.js
  4. +0 −30 gulpfile.js/tasks/docs.js
  5. +1,413 −160 package-lock.json
  6. +11 −13 package.json
  7. +9 −5 webpack.config.js
@@ -19,7 +19,8 @@
},
"globals": {
"timestrapConfig": true,
"process": true
"process": true,
"__dirname": true
},
"parser": "vue-eslint-parser",
"extends": [
@@ -1,4 +1,3 @@
require('./tasks/docs');
require('./tasks/build');
require('./tasks/lint');
require('./tasks/manage');
@@ -16,6 +16,9 @@ gulp.task('build:clean', () => {


gulp.task('build:webpack:development', () => {
webpackConfig.mode = 'development';
webpackConfig.watch = true;

return gulp.src('client/static_src/main.js')
.pipe(webpackStream(webpackConfig, webpack))
.on('error', function handleError() {
@@ -26,9 +29,6 @@ gulp.task('build:webpack:development', () => {


gulp.task('build:webpack:production', () => {
webpackConfig.mode = 'production';
webpackConfig.watch = false;

return gulp.src('client/static_src/main.js')
.pipe(webpackStream(webpackConfig, webpack))
.pipe(gulp.dest('client/static/'));

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 1d835f6

Please sign in to comment.
You can’t perform that action at this time.