0.1.5 • Published 4 years ago

rollup-plugin-purifycss v0.1.5

Weekly downloads
9
License
MIT
Repository
github
Last release
4 years ago

rollup-plugin-purifycss Build Status Coverage Status

Seamless integration between Rollup and PurifyCSS.

Install

$ npm i rollup-plugin-purifycss -D
# or
$ yarn add rollup-plugin-purifycss -D

Usage

import { 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,
      },
    }),
  ],
};
0.1.4

4 years ago

0.1.3

4 years ago

0.1.5

4 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

7 years ago