Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kei-ito/rollup-plugin-embed-css
https://github.com/kei-ito/rollup-plugin-embed-css
css postcss rollup
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kei-ito/rollup-plugin-embed-css
- Owner: gjbkz
- License: apache-2.0
- Created: 2017-06-27T02:21:32.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T13:55:50.000Z (8 months ago)
- Last Synced: 2024-05-01T16:05:11.548Z (7 months ago)
- Topics: css, postcss, rollup
- Language: TypeScript
- Size: 3.8 MB
- Stars: 20
- Watchers: 1
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
- awesome - embed-css - Import and append CSS to a bundle. (Plugins / CSS)
README
# rollup-plugin-embed-css
![Test](https://github.com/kei-ito/rollup-plugin-embed-css/workflows/Test/badge.svg)
[![codecov](https://codecov.io/gh/kei-ito/rollup-plugin-embed-css/branch/master/graph/badge.svg)](https://codecov.io/gh/kei-ito/rollup-plugin-embed-css)This plugin wraps [esifycss](https://github.com/kei-ito/esifycss).
## Installation
```bash
npm install --save-dev rollup-plugin-embed-css
```## Usage
```javascript
import embedCSS from 'rollup-plugin-embed-css';
export default {
input: '...',
plugins: [
embedCSS({/* Options */}),
],
output: {
format: '...',
file: '...',
},
};
```## Options
You can pass all [esifycss options](https://github.com/kei-ito/esifycss#options) except the `include` option.
## LICENSE
The rollup-plugin-embed-css project is licensed under the terms of the Apache 2.0 License.