postcss-normalize-charset-nightly

Add necessary or remove extra charset with PostCSS

MIT 9 个版本
安装
npm install postcss-normalize-charset-nightly
yarn add postcss-normalize-charset-nightly
pnpm add postcss-normalize-charset-nightly
bun add postcss-normalize-charset-nightly
README

This is an un-official nightly release of cssnano's postcss-normalize-charset

In this, the package is named as postcss-normalize-charset-nightly

In from this docs, you need to replace every

postcss-normalize-charset --> postcss-normalize-charset-nightly


Original Docs below


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

版本列表
0.8.4 2020-08-04
0.8.1 2020-08-01
0.7.31 2020-07-31
0.7.25 2020-07-25
0.7.24 2020-07-24
0.7.8 2020-07-08
0.6.30 2020-06-30
0.6.27 2020-06-27
0.6.26 2020-06-26