chore(gulp): Stop copying .cjs files to the dist folder

They're already transpiled by the build/transpile.js.cjs task
This commit is contained in:
Victor Berchet 2015-03-31 19:14:07 +02:00
parent 1037cef22e
commit a96c149793
1 changed files with 1 additions and 2 deletions

View File

@ -157,10 +157,9 @@ var CONFIG = {
cjs: { cjs: {
src: [ src: [
'modules/**/*.md', '!modules/**/*.dart.md', 'modules/**/*.png', 'modules/**/*.md', '!modules/**/*.dart.md', 'modules/**/*.png',
'modules/**/*.cjs', 'modules/**/package.json' 'modules/**/package.json'
], ],
pipes: { pipes: {
'**/*.cjs': gulpPlugins.rename({extname: '.js'}),
'**/*.js.md': gulpPlugins.rename(function(file) { '**/*.js.md': gulpPlugins.rename(function(file) {
file.basename = file.basename.substring(0, file.basename.lastIndexOf('.')); file.basename = file.basename.substring(0, file.basename.lastIndexOf('.'));
}), }),