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: 3 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 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-30T23:29:32.000Z (10 months ago)
- Last Synced: 2025-02-24T17:42:41.227Z (4 months ago)
- Topics: css, html, javascript, typescript, utility
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/gluehtml
- Size: 2.89 MB
- Stars: 0
- Watchers: 3
- 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)