About manual assignment to compile spec node_module packages #1360
Replies: 1 comment 1 reply
-
Yeah this is tricky! I think our Less support story is currently lagging behind Sass’. But I’d recommend having something in your
And in your HTML: + <link rel="stylesheet" href="[output.css]" />
</head> Basically what this does is handles Less using more of its CLI and ecosystem, less embedded within Snowpack. You may experience less weird behavior. We try and discourage |
Beta Was this translation helpful? Give feedback.
-
Motivation
I am using
antd
as UI Framework and its provide originless
file to user to override internal variable withmodifyVars
.Problem
As import less file and its cannot parse @import statement of less. and its will only generate a
.proxy.js
file and just copy direct file intoweb_modules
dir of import less file in source code.because of less parser is provider by plugins. I think the solution of it is provide import parse for plugin and tell which file should be import or provide parsed css file into
web_modules
diror just manual set which file should not be prebuild. I think its useful in other case
Its should have same question in
sass
Beta Was this translation helpful? Give feedback.
All reactions