From c338e9fd9db106ddbf583e72810b1c255315743a Mon Sep 17 00:00:00 2001 From: kvhnuke Date: Tue, 28 Mar 2017 05:19:07 -0700 Subject: [PATCH] reduced the size more --- gulpfile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index cf82014..afd0060 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -3,7 +3,6 @@ var autoprefixer = require('gulp-autoprefixer') var browserify = require('browserify') var buffer = require('vinyl-buffer') var cssnano = require('gulp-cssnano') -var gulp = require('gulp') var gulpConcat = require('gulp-concat') var less = require('gulp-less') var notify = require('gulp-notify') @@ -11,8 +10,9 @@ var plumber = require('gulp-plumber') var rename = require('gulp-rename') var source = require('vinyl-source-stream') var sourcemaps = require('gulp-sourcemaps') -var uglify = require('gulp-uglify') -var NwBuilder = require('nw-builder'); +var uglify = require('gulp-uglify') +var gulp = require('gulp') +var NwBuilder = require('nw-builder') var src = './src/' var app = './app/' @@ -122,7 +122,7 @@ gulp.task('copy', function() { gulp.task('buildApp', function() { var nw = new NwBuilder({ - files: ['./**/**', '!./src/**/**', '!./build/**/**'], // use the glob format + files: ['./**/**', '!./src/**/**', '!./build/**/**', '!./cache/**/**'], // use the glob format platforms: ['osx64', 'win64', 'linux64'], version: '0.21.3', buildDir: './build',