@open-wc/rollup-plugin-html

v1.2.5
Plugin for generating an html file with rollup
rollup-plugin minify html polyfill

demo:mpa

yarn demo:mpa:defaults

demo:mpa:defaults

rm -rf demo/dist && rollup -c demo/mpa/rollup.config.js --watch & yarn serve-demo

demo:mpa:virtual

rm -rf demo/dist && rollup -c demo/mpa/virtual-rollup.config.js --watch & yarn serve-demo

demo:spa

yarn demo:spa:defaults

demo:spa:defaults

rm -rf demo/dist && rollup -c demo/spa/defaults.rollup.config.js --watch & yarn serve-demo

demo:spa:html-input

rm -rf demo/dist && rollup -c demo/spa/html-input.rollup.config.js --watch & yarn serve-demo

demo:spa:manual-inject

rm -rf demo/dist && rollup -c demo/spa/manual-inject.rollup.config.js --watch & yarn serve-demo

demo:spa:multi-output

rm -rf demo/dist && rollup -c demo/spa/multi-output.rollup.config.js --watch & yarn serve-demo

demo:spa:template

rm -rf demo/dist && rollup -c demo/spa/template.rollup.config.js --watch & yarn serve-demo

demo:spa:virtual

rm -rf demo/dist && rollup -c demo/spa/virtual-rollup.config.js --watch & yarn serve-demo

prepublishOnly

../../scripts/insert-header.js

serve-demo

node ../es-dev-server/dist/cli.js --watch --root-dir demo/dist --app-index index.html --compatibility none --open

test

npm run test:node

test:node

mocha test/**/*.test.js test/*.test.js

test:update-snapshots

mocha test/**/*.test.js test/*.test.js --update-snapshots

test:watch

npm run test:node -- --watch
npm i @open-wc/rollup-plugin-html

Metadata

  • MIT
  • Whatever
  • open-wc
  • released 10/11/2020

Downloads