You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
705 B

4 years ago
  1. # postcss-normalize-charset
  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. See the [PostCSS documentation](https://github.com/postcss/postcss#usage) for
  24. examples for your environment.
  25. ## Contributors
  26. See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).
  27. ## License
  28. MIT © [Bogdan Chadkin](mailto:trysound@yandex.ru)