mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
Update compiler.js (#712)
This commit is contained in:
parent
8ed16151f7
commit
351866500e
@ -23,7 +23,7 @@ gulp.task('compile-less', () => {
|
||||
.pipe(postcss())
|
||||
.pipe(cssmin())
|
||||
.pipe(insert.transform((contents, file) => {
|
||||
if (!file.path.includes('packages/common')) {
|
||||
if (!file.path.includes('packages'+ path.sep +'common')) {
|
||||
contents = `@import '../common/index.wxss';` + contents;
|
||||
}
|
||||
return contents;
|
||||
|
Loading…
x
Reference in New Issue
Block a user