一覧へ戻る
Henry-Pulver/rollup-plugin-tailwindcss(新しいタブで開きます)
主要言語: JavaScript
Bundle Tailwind CSS stylesheet as a Rollup asset
- star 数
- 13
- watcher 数
- 1
- fork 数
- 5
- issue 数
- 4
- 最終更新
- 2023/07/29
主要言語: JavaScript
Bundle Tailwind CSS stylesheet as a Rollup asset
Bundle Tailwind CSS stylesheet as a Rollup asset.
npm i --save-dev rollup-plugin-tailwindcss # or yarn add -D rollup-plugin-tailwindcss// rollup.config.js import tailwind from 'rollup-plugin-tailwindcss'; export default { plugins: [ tailwind({ input: 'path/to/entry.css', // required // Tailor the emitted stylesheet to the bundle by removing any unused CSS // (highly recommended when packaging for distribution). purge: false, }), ], };