From 3584f5e98860fc5eb284ced0b521641456f512c2 Mon Sep 17 00:00:00 2001 From: Zeng Ohm Date: Wed, 5 Oct 2016 16:08:09 +0800 Subject: [PATCH 1/2] Fixed - build.js.prod without style Fixed - build.js.prod without style --- app/templates/gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/gulpfile.js b/app/templates/gulpfile.js index 54b7aff..5c1c88e 100644 --- a/app/templates/gulpfile.js +++ b/app/templates/gulpfile.js @@ -296,7 +296,7 @@ gulp.task('build.assets.prod', [ <% if (props.cssPreprocessor.key === 'node-sass') { %> gulp.src(['./app/**/*.sass', './app/**/*.scss']) .pipe(sass().on('error', sass.logError)) - .pipe(gulp.dest(PATH.dest.dev.all)); + .pipe(gulp.dest(PATH.dest.prod.all)); <% } %> From 41e471ecfababadd38853a0e709602753ee98c73 Mon Sep 17 00:00:00 2001 From: Zeng Ohm Date: Wed, 5 Oct 2016 16:13:06 +0800 Subject: [PATCH 2/2] Fixed - dist/prod miss include lib and css Fixed - dist/prod/index.html miss lib.js and app.css --- app/templates/app/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/templates/app/index.html b/app/templates/app/index.html index 7896511..1a975fd 100644 --- a/app/templates/app/index.html +++ b/app/templates/app/index.html @@ -11,6 +11,7 @@ + @@ -19,6 +20,7 @@ Loading... +