Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ywzhaiqi/rollup-plugin-userscript-css
import css file for userscirpt
https://github.com/ywzhaiqi/rollup-plugin-userscript-css
rollup rollup-plugin userscript
Last synced: about 1 month ago
JSON representation
import css file for userscirpt
- Host: GitHub
- URL: https://github.com/ywzhaiqi/rollup-plugin-userscript-css
- Owner: ywzhaiqi
- Created: 2017-08-26T19:22:08.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-31T09:18:47.000Z (about 7 years ago)
- Last Synced: 2024-04-27T18:02:54.405Z (7 months ago)
- Topics: rollup, rollup-plugin, userscript
- Language: JavaScript
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Rollup UserScript Css Plugin
============================This [Rollup](http://rollupjs.org/) plugin will import css file for Greasemonkey / Tampermonkey.
## Install
```
npm install --save rollup-plugin-userscript-css
```## usage
```js
import './test.css'
````rollup.config.js`
```js
import userScriptCss from 'rollup-plugin-userscript-css'export default {
...
plugins: [
userScriptCss()
]
}
```## Options
### insert
+ Default: `true`
+ Type: `Boolean`Default `true`, the plugin will insert CSS into `