build-plugin-fusion-unicode
v1.1.3
Published
解决sass中unicode变量被转义问题
Downloads
2
Readme
plugin-fusion-unicode
npm i build-plugin-fusion-unicode -D
or
yarn add build-plugin-fusion-unicode --dev
icejs项目build.json的配置
{
"plugins": [
["build-plugin-fusion", {}],
"build-plugin-fusion-unicode"
...
]
}
webpack使用配置,loader必须依赖sass-loader编译结果,所以必须在sass-loader编译后执行
{
test: /\.scss$/i,
use: [
'style-loader',
'css-loader',
'build-plugin-fusion-unicode/lib/unicode',
'sass-loader'
]
}