This release should not have breaking changes for the vast majority of users; only those with @charset
statements in their CSS may be affected.
@charset
statements (#447)@charset
statements are not at the top of files (#447)@charset
(#436, #447)Published by RyanZim about 4 years ago
Published by RyanZim about 6 years ago
Published by RyanZim over 6 years ago
filter
optionPublished by RyanZim over 7 years ago
Published by RyanZim almost 8 years ago
transform
optionpkg-resolve
is no longer a dependency; this should fix some issuespkg-resolve
if they want toaddDependencyTo
option, it is not needed if usingPublished by MoOx over 8 years ago
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 beoptions.plugins
are applied to unprocessed ast before importsload
optionmain
fieldNote:
_If you miss options/default behavior (glob etc), a new plugin will handle all
those things.
Please follow issue #145
_
Published by MoOx almost 9 years ago
Published by MoOx about 9 years ago
addDependencyTo
to make the integration with webpack more