Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Commit

Permalink
fix(gulpfile): cannot use lib caused by prefixCls config
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimi-Gao committed Sep 11, 2018
1 parent fe4c036 commit 7b37ef8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ const replace = require('gulp-replace')
gulp.task('default', function () {
gulp.src('../lib/components/**/*.js')
.pipe(replace(/require\('(\.\/)*(\.\.\/)*(\w+\/)*\w+\.less'\);/, ''))
.pipe(replace(/prefixCls/g, JSON.stringify('earthui')))
.pipe(gulp.dest('../lib'))
})

0 comments on commit 7b37ef8

Please sign in to comment.