npm run install
to install dependencies
- Parcel - https://consistent-source-map-pc.netlify.app/
- esbuild (global variables / esm) - https://consistent-source-map-eb.netlify.app/
- esbuild (iife) - https://consistent-source-map-eb-iife.netlify.app/
This repo support two builds - Parcel and esbuild.
npm run build-pc
to generate output indist_parcel
npm run build-eb
to generate highly optimized (with mangled props and fn, global vars, esm) output indist_esbuild
- to generate iife esbuild, remove the
format: 'esm'
config inesbuild.config
.
You can also use start-pc
and start-eb
to run a server (no live/hot reload).