https://github.com/hyrious/esbuild-split-vendors-example
https://github.com/hyrious/esbuild-split-vendors-example
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/hyrious/esbuild-split-vendors-example
- Owner: hyrious
- License: unlicense
- Created: 2021-08-21T05:00:15.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-04-14T01:20:03.000Z (about 4 years ago)
- Last Synced: 2025-03-20T01:41:13.821Z (about 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 15
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## esbuild split vendors example
See [build.js](./build.js) and [index.html](./index.html).
Supports environments without esm.
### limits
- vendors are packed into one file.
- vendors must be downloaded before main code.
- vendors are not tree-shaked ([#1](https://github.com/hyrious/esbuild-split-vendors-example/issues/1)).
### to overcome
Use [vite](https://vitejs.dev).
### license
The Unlicense.