|
|
@ -45,7 +45,8 @@ function finalizeCompile() { |
|
|
|
let lessContent = ''; |
|
|
|
let lessContent = ''; |
|
|
|
|
|
|
|
|
|
|
|
bundleWithoutNormalize.forEach(path => { |
|
|
|
bundleWithoutNormalize.forEach(path => { |
|
|
|
lessContent += `@import "../.${path}";\n`; |
|
|
|
const relativePath = path.replace(/.*src\/less/, 'src/less').replace(/.*public\/less/g, 'public/less'); |
|
|
|
|
|
|
|
lessContent += `@import "../../${relativePath}";\n`; |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
writeFileSync( |
|
|
|
writeFileSync( |
|
|
|