use outdir

This commit is contained in:
Nebel 2023-04-23 01:00:06 +09:00
parent 0e121ab97b
commit 141a8a2248

View file

@ -6,7 +6,7 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "esbuild --bundle --loader:.html=copy --outdir=dist src/*", "build": "esbuild --bundle --loader:.html=copy --outdir=dist src/*",
"start": "esbuild --bundle --loader:.html=copy --servedir=src src/*" "start": "esbuild --bundle --loader:.html=copy --outdir=dist --servedir=dist src/*"
}, },
"devDependencies": { "devDependencies": {
"@exampledev/new.css": "^1.1.3", "@exampledev/new.css": "^1.1.3",