mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-16 15:40:02 -04:00
turn on build logging in esbuild
This commit is contained in:
parent
5a8aa6698e
commit
325ef1f3f8
2 changed files with 3 additions and 8 deletions
|
@ -14,6 +14,7 @@ const devServer = createServer({
|
||||||
outdir: "./dist",
|
outdir: "./dist",
|
||||||
bundle: true,
|
bundle: true,
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
logLevel: 'info',
|
||||||
plugins: [
|
plugins: [
|
||||||
copy({
|
copy({
|
||||||
resolveFrom: "cwd",
|
resolveFrom: "cwd",
|
||||||
|
|
10
esbuild.js
10
esbuild.js
|
@ -14,13 +14,7 @@ build({
|
||||||
outdir: "./dist",
|
outdir: "./dist",
|
||||||
bundle: true,
|
bundle: true,
|
||||||
plugins: [
|
plugins: [
|
||||||
copy({
|
|
||||||
resolveFrom: "cwd",
|
|
||||||
assets: {
|
|
||||||
from: ["./dist/*"],
|
|
||||||
to: ["./server/static"]
|
|
||||||
}
|
|
||||||
}),
|
|
||||||
time()
|
time()
|
||||||
]
|
],
|
||||||
|
logLevel: 'info',
|
||||||
});
|
});
|
Loading…
Add table
Add a link
Reference in a new issue