Last change
on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
705 bytes
|
Line | |
---|
1 | # postcss-normalize-charset
|
---|
2 |
|
---|
3 | Add necessary or remove extra charset with PostCSS
|
---|
4 |
|
---|
5 | ```css
|
---|
6 | a{
|
---|
7 | content: "©";
|
---|
8 | }
|
---|
9 | ```
|
---|
10 |
|
---|
11 | ```css
|
---|
12 | @charset "utf-8";
|
---|
13 | a{
|
---|
14 | content: "©";
|
---|
15 | }
|
---|
16 | ```
|
---|
17 |
|
---|
18 | ## API
|
---|
19 |
|
---|
20 | ### normalizeCharset([options])
|
---|
21 |
|
---|
22 | #### options
|
---|
23 |
|
---|
24 | ##### add
|
---|
25 |
|
---|
26 | Type: `boolean`
|
---|
27 | Default: `true`
|
---|
28 |
|
---|
29 | Pass `false` to stop the module from adding a `@charset` declaration if it was
|
---|
30 | missing from the file (and the file contained non-ascii characters).
|
---|
31 |
|
---|
32 | ## Usage
|
---|
33 |
|
---|
34 | See the [PostCSS documentation](https://github.com/postcss/postcss#usage) for
|
---|
35 | examples for your environment.
|
---|
36 |
|
---|
37 | ## Contributors
|
---|
38 |
|
---|
39 | See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).
|
---|
40 |
|
---|
41 | ## License
|
---|
42 |
|
---|
43 | MIT © [Bogdan Chadkin](mailto:trysound@yandex.ru)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.