glass-easel icon indicating copy to clipboard operation
glass-easel copied to clipboard

The `@import` does not work well without preprocessor (`less`, etc)

Open LastLeaf opened this issue 1 year ago • 1 comments

Currently the stylesheet compiler does not handle @import itself.

Other preprocessors (like less-loader) can transform it properly. However, if use without preprocessors, the @import will be passed to css-loader which inlines the imported content directly, missing proper transform of rpx and class prefixes.

LastLeaf avatar Nov 30 '23 13:11 LastLeaf