From a96c1497934da3a73fdace793cedb554c08d1575 Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Tue, 31 Mar 2015 19:14:07 +0200 Subject: [PATCH] chore(gulp): Stop copying .cjs files to the dist folder They're already transpiled by the build/transpile.js.cjs task --- gulpfile.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 47334b53a7..571c27761a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -157,10 +157,9 @@ var CONFIG = { cjs: { src: [ 'modules/**/*.md', '!modules/**/*.dart.md', 'modules/**/*.png', - 'modules/**/*.cjs', 'modules/**/package.json' + 'modules/**/package.json' ], pipes: { - '**/*.cjs': gulpPlugins.rename({extname: '.js'}), '**/*.js.md': gulpPlugins.rename(function(file) { file.basename = file.basename.substring(0, file.basename.lastIndexOf('.')); }),