0.0.7 • Published 7 months ago

esbuild-scripts v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

esbuild-scripts

Scripts to build a static site + start a live dev server using esbuild. Made because I got tired of copy/pasting between projects.

Only supports ESM config files for now.

Usage: esbuild-scripts [options] [command]

Options:
  -c, --config <string>  Path to esbuild config (default: "./esbuild.config.mjs")
  -h, --help             display help for command

Commands:
  build                  runs esbuild and saves metafile.json
  start                  builds and then runs a live-reloading dev server
  help [command]         display help for command

esbuild.config.mjs

// Defaults to localhost:3000
export const devConfig = {
	host: 'localhost',
	port: 4000,
};

export const esbuildConfig = ({ isProd }) => ({
	outdir, // required for `start`
})
0.0.7

7 months ago

0.0.6

8 months ago

0.0.1

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.5.0

3 years ago

0.6.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago