Skip to content

Commit a96c149

Browse files
committed
chore(gulp): Stop copying .cjs files to the dist folder
They're already transpiled by the build/transpile.js.cjs task
1 parent 1037cef commit a96c149

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gulpfile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,9 @@ var CONFIG = {
157157
cjs: {
158158
src: [
159159
'modules/**/*.md', '!modules/**/*.dart.md', 'modules/**/*.png',
160-
'modules/**/*.cjs', 'modules/**/package.json'
160+
'modules/**/package.json'
161161
],
162162
pipes: {
163-
'**/*.cjs': gulpPlugins.rename({extname: '.js'}),
164163
'**/*.js.md': gulpPlugins.rename(function(file) {
165164
file.basename = file.basename.substring(0, file.basename.lastIndexOf('.'));
166165
}),

0 commit comments

Comments
 (0)