https://github.com/maxzz/gluehtml
Glue HTML local external files into solid HTML
https://github.com/maxzz/gluehtml
css html javascript typescript utility
Last synced: 4 months ago
JSON representation
Glue HTML local external files into solid HTML
- Host: GitHub
- URL: https://github.com/maxzz/gluehtml
- Owner: maxzz
- Created: 2020-05-27T04:53:26.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-09-11T00:27:36.000Z (9 months ago)
- Last Synced: 2025-11-23T06:23:56.846Z (7 months ago)
- Topics: css, html, javascript, typescript, utility
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/gluehtml
- Size: 2.97 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://badge.fury.io/js/gluehtml)
#### Overview
gluehtml packs HTML file includes into a single self-contained HTML file with no references to the local .js or .css files. The output can be used in some restricted systems or quickly copied to a different locations.

#### Install
```bash
yarn global add gluehtml
```
#### Refs
* [Vite build.polyfillModulePreload](https://vitejs.dev/config/build-options.html#build-polyfillmodulepreload)
* [ES Module Preloading & Integrity](https://guybedford.com/es-module-preloading-integrity#modulepreload-polyfill)
* [Preloading modules](https://developer.chrome.com/blog/modulepreload)
* [es-module-shims](https://github.com/guybedford/es-module-shims)