mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-04 02:51:19 +08:00
The CSS minifier we currently use (clean-css) is not maintained and lacks support for new CSS features. CSSNano is a replacement that supports features we need (primarily container queries). This CL only adds the relevant dependencies, and does not use it. I will do that (and remove clean-css) in a follow-up. Bug: 1399763 Change-Id: I899ecc4482164404dd5ac2fd13f92fb797978e29 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4092305 Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> Commit-Queue: Alex Rudenko <alexrudenko@chromium.org> Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
36 lines
1.5 KiB
JSON
36 lines
1.5 KiB
JSON
{
|
|
"name": "postcss-normalize-charset",
|
|
"version": "5.1.0",
|
|
"description": "Add necessary or remove extra charset with PostCSS",
|
|
"keywords": [
|
|
"postcss",
|
|
"css",
|
|
"postcss-plugin",
|
|
"charset"
|
|
],
|
|
"author": "Bogdan Chadkin <trysound@yandex.ru>",
|
|
"files": [
|
|
"src",
|
|
"LICENSE",
|
|
"types"
|
|
],
|
|
"license": "MIT",
|
|
"repository": "cssnano/cssnano",
|
|
"bugs": {
|
|
"url": "https://github.com/cssnano/cssnano/issues"
|
|
},
|
|
"homepage": "https://github.com/cssnano/cssnano",
|
|
"main": "src/index.js",
|
|
"types": "types/index.d.ts",
|
|
"engines": {
|
|
"node": "^10 || ^12 || >=14.0"
|
|
},
|
|
"devDependencies": {
|
|
"postcss": "^8.2.15"
|
|
},
|
|
"peerDependencies": {
|
|
"postcss": "^8.2.15"
|
|
},
|
|
"readme": "# postcss-normalize-charset\n\nAdd necessary or remove extra charset with PostCSS\n\n```css\na{\n content: \"\u00a9\";\n}\n```\n\n```css\n@charset \"utf-8\";\na{\n content: \"\u00a9\";\n}\n```\n\n## API\n\n### normalizeCharset([options])\n\n#### options\n\n##### add\n\nType: `boolean` \nDefault: `true`\n\nPass `false` to stop the module from adding a `@charset` declaration if it was\nmissing from the file (and the file contained non-ascii characters).\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n## Contributors\n\nSee [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).\n\n## License\n\nMIT \u00a9 [Bogdan Chadkin](mailto:trysound@yandex.ru)\n"
|
|
}
|