0.1.3 • Published 6 years ago

rollup-plugin-web-template v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

rollup-plugin-web-template

Compile standard Web apps

Installation

npm install --save-dev rollup-plugin-web-template

Usage

// rollup.config.js
import wt from 'rollup-plugin-web-template'

export default {
  input: 'src/index.html', // .html or .js

  plugins: [
    wt({
      type: 'html', // Output type; one of 'html', 'js', 'module'
      link: false, // Bundle all files
      includes: [], // Bundle files in these paths
      excludes: [], // Link files in these paths as URL
      imports: [], // Modules to import
    }),
  ],
}

License

MIT

0.1.3

6 years ago

0.1.2

6 years ago

0.1.0

7 years ago