From b0b518fd8c9ba4b845d14bf644b0ec741298e828 Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Fri, 8 Sep 2017 19:50:20 +0300 Subject: [PATCH] gulpfile compile temporary just copy app.js file --- gulpfile.babel.js | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/gulpfile.babel.js b/gulpfile.babel.js index e7057425..7702e78b 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -74,28 +74,28 @@ gulp.task('compile', () => { return gulp.src([ './src/public/app.js' ]) - .pipe(named()) - .pipe(webpack({ - devtool: doSourceMaps ? 'inline-source-map' : null, - watch: doWatch, - output: { - filename: '[name].js' - }, - module: { - loaders: [ - {test: /\.js$/, loader: 'babel'}, - {test: /\.html$/, loader: 'raw!html-minify'} - ] - }, - 'html-minify-loader': { - empty: true, - cdata: true, - comments: false, - dom: { - lowerCaseAttributeNames: false - } - } - })) + //.pipe(named()) + //.pipe(webpack({ + // devtool: doSourceMaps ? 'inline-source-map' : null, + // watch: doWatch, + // output: { + // filename: '[name].js' + // }, + // module: { + // loaders: [ + // {test: /\.js$/, loader: 'babel'}, + // {test: /\.html$/, loader: 'raw!html-minify'} + // ] + // }, + // 'html-minify-loader': { + // empty: true, + // cdata: true, + // comments: false, + // dom: { + // lowerCaseAttributeNames: false + // } + // } + //})) .pipe(gulp.dest('./public')) })