You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 9, 2022. It is now read-only.
Use HTML files as entry points in your rollup bundle.
HTML files and HTML imports will be traversed, then all scripts found will be combined.
Optionally, write HTML files cleaned of <script>s.
This is particularly useful for web components and web applications in general.
The input above is the simplest form which simply takes a glob string.
You may pass an array of glob strings or an object with one or more of the following options:
exportdefault{input: {// Arrays of globs to includeinclude: ['index.html','and/globs/**/*.html'],// Arrays of globs to excludeexclude: ['excluded-file.html','and/globs/*.to.be.excluded.html'],// Arrays of globs that should remain external to the bundleexternal: ['lazy-imports.html','and/globs/*.to.be.omitted.html']}// ...};
By default HTML files will be not written. If output option is present, HTML files stripped of <script>s will be written into specified path.