/scope-global-styles

Primary LanguageJavaScriptMIT LicenseMIT

scope-global-styles

Table of Contents

Install

$ npm install scope-global-styles

Usage with Webpack

const globalStylePrefixer = require('scope-global-styles');
globalStylePrefixer("my-prefix", webpack, require("./angular.json"));
return webpack;

Options

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

Contribute

Please contribute! If you have any questions or bugs, open an issue, or open a pull request with a fix.

License

MIT @ 2023 Bryson Hair