mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +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(postcss())
|
||||||
.pipe(cssmin())
|
.pipe(cssmin())
|
||||||
.pipe(insert.transform((contents, file) => {
|
.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;
|
contents = `@import '../common/index.wxss';` + contents;
|
||||||
}
|
}
|
||||||
return contents;
|
return contents;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user