postcss-import
Advanced tools
Changelog
8.0.0 - 2015-01-27
All imports statements must be at the top of your file now, per CSS specification.
You should use postcss-reporter to see the warnings raised.
encoding
option. Encoding can be specified in custom load
optionpostcssImport({
load: function(filename) {
return fs.readFileSync(filename, "utf-8")
}
})
(#144)
Globs can be implemented with custom resolve
option
postcssImport({
resolve: function(id, base) {
return glob.sync(path.join(base, id))
}
})
(#116)
transform
option and undefined
result will be
skipped
(#147)options.plugins
are applied to unprocessed ast before imports
detecting
(157)load
option
(#144)main
field
(153)Note: _If you miss options/default behavior (glob etc), a new plugin will handle all those things. Please follow issue #145 _