Open jerryYuX opened 2 years ago
index.less
@import '~xxx/xxx/lib/xxx.css'; .root { ··· }
the log is
Unresolved `@import` in `@import '~xxx/xxx/lib/xxx.css'`
but @import less file is OK, for example:
@import
@import '~xxx/xxx/lib/xxx.less`; .root { ··· }
the css file and less file both on the right path
the plugin config is:
{ mode: 'emit', use: ['less'], url: false, less: { javascriptEnabled: true, modifyVars: {}, }, }
index.less
the log is
but
@import
less file is OK, for example:the css file and less file both on the right path
the plugin config is: