Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 17 days 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-30T23:29:32.000Z (2 months ago)
- Last Synced: 2024-10-09T19:34:24.564Z (29 days 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
[![npm version](https://badge.fury.io/js/gluehtml.svg)](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.
![](assets/preview.png)
#### 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)