Skip to content

Commit fd95561

Browse files
abrahamgreyson7insummer
authored andcommitted
fix: Fixed #378
1 parent 4cc1bb8 commit fd95561

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/build-prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const cssmin = require('gulp-clean-css');
44
const rename = require('gulp-rename');
55
const componentData = require('./build-tool');
66
const result = `{common,behaviors,${componentData()}}`;
7-
const isCustom = result == `{common,behaviors}`;
7+
const isCustom = (result != `{common,behaviors}`);
88

99
// js => js
1010
gulp.task('dispose-js', () => {
@@ -61,4 +61,4 @@ gulp.task('default', gulp.series(
6161
'dispose-wxs',
6262
'dispose-copy',
6363
'dispose-json'
64-
));
64+
));

0 commit comments

Comments
 (0)