From f31ff6d728b6fefb4470412dc2ff780bc0805a4b Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Sat, 17 Jun 2017 20:09:02 +0500 Subject: [PATCH] Remove mini from default build, restyle --- extensions/chromium/runet-censorship-bypass/gulpfile.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/extensions/chromium/runet-censorship-bypass/gulpfile.js b/extensions/chromium/runet-censorship-bypass/gulpfile.js index 0f2ea15..94a2c00 100644 --- a/extensions/chromium/runet-censorship-bypass/gulpfile.js +++ b/extensions/chromium/runet-censorship-bypass/gulpfile.js @@ -17,12 +17,12 @@ const templatePlugin = (context) => through.obj(function(file, encoding, cb) { file.path = file.path.replace(new RegExp(`${tjson}$`), '.json'); if (file.isStream()) { - return cb(new PluginError(PluginName, 'Streams not supported!')); + return cb(new PluginError(PluginName, 'Streams are not supported!')); } else if (file.isBuffer()) { const {keys, values} = Object.keys(context).reduce( (acc, key) => { - const value = context[key]; + const value = context[key]; acc.keys.push(key); acc.values.push(value); return acc; @@ -103,4 +103,5 @@ gulp.task('_cp-full', ['_cp-common'], function(cb) { }); -gulp.task('build', ['_cp-mini', '_cp-full']); +gulp.task('build:prod', ['_cp-mini', '_cp-full']); +gulp.task('build', ['_cp-full']);