Closed JaredCen closed 6 years ago
@JunreyCen
F.Y.I., by specifying path
in the options, less-loader
will disable its built-in WebpackFileManager
thus @import
s inside Less files would stop using webpack's module-resolving algorithm.
As far as I know,vue-loader
is not using style preprocessor features of component-compiler-utils
, it uses loader chain for preprocessing style blocks.
In other environment (rollup, jest, parcel), WebpackFileManager is not a thing so merging options should not pose any issues.
I use node/gulp to compile sfc instead of webpack since i don't want to bundle the dependence...btw, i need the commit published in npm, and thanks to fix this problem.
Here, this
options
is not used innodeLess.render
, when i want to assign thepaths
param inrender
function.