一覧へ戻る
Vanilla-IceCream/rollup-plugin-purifycss(新しいタブで開きます)
主要言語: JavaScript
Seamless integration between Rollup and PurifyCSS.
- star 数
- 2
- watcher 数
- 1
- fork 数
- 0
- issue 数
- 18
- 最終更新
- 2022/07/07
主要言語: JavaScript
Seamless integration between Rollup and PurifyCSS.
Seamless integration between Rollup and PurifyCSS.
$ npm i rollup-plugin-purifycss -D
# or
$ yarn add rollup-plugin-purifycss -Dimport { join } from 'path'; import purifycss from 'rollup-plugin-purifycss'; export default { input: join(__dirname, 'main.js'), output: [{ file: join(__dirname, 'bundle.js'), format: 'iife' }], plugins: [ purifycss({ content: ['./**/*.js', './**/*.html'], options: { info: true, }, }), ], };