diff --git a/web/gulpfile.js b/web/gulpfile.js index 63f6fa7e8adb5719283e2e53c8604c2f4998e6a9..7fc226da26cbdb4d4d4cdd755dc72f8d04b5e4ee 100644 --- a/web/gulpfile.js +++ b/web/gulpfile.js @@ -33,7 +33,7 @@ gulp.task('scss', () => { gulp.task('webpack', () => { return gulp.src(pkg.main) - .pipe($.webpack_stream()) + .pipe($.webpack_stream( require('./webpack.config.js') )) .pipe(gulp.dest(pkg.paths.dist.js)); }); diff --git a/web/package.json b/web/package.json index e1e2000c14c35ffbd7a9e249c09305f14a667169..8827a69b9417baaff5f39d9d4a18cdb7db313aa2 100644 --- a/web/package.json +++ b/web/package.json @@ -6,6 +6,7 @@ "author": "Lars Bilke", "license": "BSD", "scripts": { + "hugo": "hugo -w --disableRSS", "build": "webpack", "build:release": "export NODE_ENV=production && webpack -p", "start": "webpack-dev-server --content-base ./public" diff --git a/web/webpack.config.js b/web/webpack.config.js index b1acb055462c1cbbacf5088ac89b37a6b531e978..aaafcbae3afb2d745a59718f42c3276133372ebb 100644 --- a/web/webpack.config.js +++ b/web/webpack.config.js @@ -17,7 +17,7 @@ module.exports = { plugins: plugins, entry: pkg.paths.src.js + '/app.js', output: { - path: pkg.paths.dist.js, + // path: pkg.paths.dist.js, // does not work with webpack-stream filename: 'bundle.js', }, module: {