0.1.2 • Published 5 years ago

@intrnl/rollup-plugin-html v0.1.2

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

rollup-plugin-html

Allows using HTML files as input for Rollup

Usage

npm install --save-dev @intrnl/rollup-plugin-html
# pnpm install --save-dev @intrnl/rollup-plugin-html
# yarn add --dev @intrnl/rollup-plugin-html
// rollup.config.js
import { html as htmlPlugin } from '@intrnl/rollup-plugin-html';

export default {
  input: 'src/index.html',
  plugins: [
    htmlPlugin(),
  ],
};

Options

  • baseUrl?: string
    The base URL where static assets are hosted