scope-global-styles

0.0.9 • Public • Published

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

Package Sidebar

Install

npm i scope-global-styles

Weekly Downloads

4

Version

0.0.9

License

MIT

Unpacked Size

6.8 kB

Total Files

4

Last publish

Collaborators

  • bh3605