Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zachhardesty7/babel-plugin-transform-semantic-ui-react-style-imports
Babel plugin that can add ALL semantic-ui-css imports.
https://github.com/zachhardesty7/babel-plugin-transform-semantic-ui-react-style-imports
Last synced: about 10 hours ago
JSON representation
Babel plugin that can add ALL semantic-ui-css imports.
- Host: GitHub
- URL: https://github.com/zachhardesty7/babel-plugin-transform-semantic-ui-react-style-imports
- Owner: zachhardesty7
- License: mit
- Created: 2019-02-27T18:33:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-27T23:41:05.000Z (8 months ago)
- Last Synced: 2024-10-02T12:37:50.085Z (about 1 month ago)
- Language: JavaScript
- Size: 1.23 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# babel-plugin-transform-semantic-ui-react-style-imports
The plugin can add import statements for CSS files from
`semantic-ui-css`.## Installation
```bash
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](https://www.npmjs.com/package/semantic-ui-react) and/or
[semantic-ui-css](https://www.npmjs.com/package/semantic-ui-css).## Usage
Add the plugin to your Babel configuration (e.g. in .babelrc):
```json
{
"plugins": ["transform-semantic-ui-react-style-imports"]
}
```## Running the tests (soon)
```bash
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](https://github.com/skleeschulte/babel-plugin-transform-semantic-ui-react-imports)