JSPM

  • Created
  • Published
  • Downloads 14237416
  • Score
    100M100P100Q248484F
  • License MIT

Add necessary or remove extra charset with PostCSS

Package Exports

  • postcss-normalize-charset
  • postcss-normalize-charset/src/index.js

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-normalize-charset) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

postcss-normalize-charset

Add necessary or remove extra charset with PostCSS

a{
  content: "©";
}
@charset "utf-8";
a{
  content: "©";
}

API

normalizeCharset([options])

options

add

Type: boolean
Default: true

Pass false to stop the module from adding a @charset declaration if it was missing from the file (and the file contained non-ascii characters).

Usage

See the PostCSS documentation for examples for your environment.

Contributors

See CONTRIBUTORS.md.

License

MIT © Bogdan Chadkin