Remove mini from default build, restyle

This commit is contained in:
Ilya Ig. Petrov 2017-06-17 20:09:02 +05:00
parent a9b658515a
commit f31ff6d728

View File

@ -17,7 +17,7 @@ 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) => {
@ -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']);