bdf689c55b6b0f5fe985c1fd1d8ebe198b3260ab5c19bc126928cf60356445b117eccd91eb5f88048cced3d763510fdb756cda12aab96bd00be41057f9b83f 805 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # postcss-normalize-charset [![Build Status][ci-img]][ci]
  2. Add necessary or remove extra charset with PostCSS
  3. ```css
  4. a{
  5. content: "©";
  6. }
  7. ```
  8. ```css
  9. @charset "utf-8";
  10. a{
  11. content: "©";
  12. }
  13. ```
  14. ## API
  15. ### normalizeCharset([options])
  16. #### options
  17. ##### add
  18. Type: `boolean`
  19. Default: `true`
  20. Pass `false` to stop the module from adding a `@charset` declaration if it was
  21. missing from the file (and the file contained non-ascii characters).
  22. ## Usage
  23. ```js
  24. postcss([ require('postcss-normalize-charset') ])
  25. ```
  26. See [PostCSS] docs for examples for your environment.
  27. MIT © [Bogdan Chadkin](mailto:trysound@yandex.ru)
  28. [PostCSS]: https://github.com/postcss/postcss
  29. [ci-img]: https://travis-ci.org/ben-eb/postcss-normalize-charset.svg
  30. [ci]: https://travis-ci.org/ben-eb/postcss-normalize-charset