$ npm install scope-global-styles
const globalStylePrefixer = require('scope-global-styles');
globalStylePrefixer("my-prefix", webpack, require("./angular.json"));
return webpack;
Name | Type | Description |
---|---|---|
prefix | string | The string to prepend to every CSS selector. |
webpack | object | Webpack configuration object |
ngJson | object | json object of your angular.json file |
Please contribute! If you have any questions or bugs, open an issue, or open a pull request with a fix.
MIT @ 2023 Bryson Hair