Skip to content

Commit

Permalink
chore(gulp): Stop copying .cjs files to the dist folder
Browse files Browse the repository at this point in the history
They're already transpiled by the build/transpile.js.cjs task
  • Loading branch information
vicb committed Apr 2, 2015
1 parent 1037cef commit a96c149
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('.'));
}),
Expand Down

0 comments on commit a96c149

Please sign in to comment.