babel-plugin-transform-semantic-ui-react-style-imports

0.0.6 • Public • Published

babel-plugin-transform-semantic-ui-react-style-imports

The plugin can add import statements for CSS files from semantic-ui-css.

Installation

    npm install babel-plugin-transform-semantic-ui-react-style-imports --save-dev

Depending on how you use the plugin, you also need to install semantic-ui-react and/or semantic-ui-css.

Usage

Add the plugin to your Babel configuration (e.g. in .babelrc):

    {
        "plugins": ["transform-semantic-ui-react-style-imports"]
    }

Running the tests (soon)

    git clone https://github.com/zachhardesty7/babel-plugin-transform-semantic-ui-react-style-imports.git
    cd babel-plugin-transform-semantic-ui-react-style-imports
    npm install
    npm run test

Acknowledgements

heavy inspiration taken from skleeschulte

Package Sidebar

Install

npm i babel-plugin-transform-semantic-ui-react-style-imports

Weekly Downloads

6

Version

0.0.6

License

MIT

Unpacked Size

181 kB

Total Files

13

Last publish

Collaborators

  • zachhardesty7