https://github.com/wdestroier/postcss-scope-polyfill
A PostCSS plugin for the CSS @scope polyfill.
https://github.com/wdestroier/postcss-scope-polyfill
Last synced: about 1 month ago
JSON representation
A PostCSS plugin for the CSS @scope polyfill.
- Host: GitHub
- URL: https://github.com/wdestroier/postcss-scope-polyfill
- Owner: Wdestroier
- License: mit
- Created: 2024-11-17T07:10:56.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-17T07:32:10.000Z (6 months ago)
- Last Synced: 2025-02-09T23:13:06.399Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A PostCSS plugin to generate the required CSS for the [CSS `@scope` polyfill](https://github.com/barneycarroll/scope-polyfill).
- Install PostCSS.
`npm install postcss postcss-preset-env postcss-cli --save-dev`- Process a single file.
`npx postcss "global.css" -o "output.css" --no-map --config "postcss.config.js"`- Process all CSS files.
`npx postcss "./styles/**/*.css" --dir "./output/styles/" --no-map --config "postcss.config.js"`This project is licensed under the MIT License - see the LICENSE file for details.