Package Exports
- postcss-sass-unicode
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (postcss-sass-unicode) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
PostCSS Sass Unicode
PostCSS plugin for escape sass unicode characters.
scss
.foo {
&:before{
content:"\e949"
}
}
css after sass
.foo {
&:before{
content:""
}
}
css after postcss
.foo {
&:before{
content:"\e949"
}
}
Usage
Check you project for existed PostCSS config: postcss.config.js
in the project root, "postcss"
section in package.json
or postcss
in bundle config.
If you already use PostCSS, add the plugin to plugins list:
module.exports = {
plugins: [
+ require('postcss-sass-unicode'),
require('autoprefixer')
]
}
If you do not use PostCSS, add it according to official docs and set this plugin in settings.