Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22397095
esbuild.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
424 B
Referenced Files
None
Subscribers
None
esbuild.js
View Options
const
{
build
}
=
require
(
"esbuild"
);
const
glob
=
require
(
"tiny-glob"
);
const
watch
=
process
.
argv
.
at
(
-
1
)
===
"--watch"
;
(
async
()
=>
{
let
entryPoints
=
Object
.
fromEntries
(
(
await
glob
(
"./src/**/*.ts"
)).
map
((
e
)
=>
[
e
.
replace
(
/\.ts$/
,
""
),
e
,
])
);
build
({
entryPoints
,
sourcemap
:
true
,
outdir
:
"./dist"
,
logLevel
:
"info"
,
platform
:
"node"
,
watch
,
target
:
"node16"
,
format
:
"cjs"
,
});
})();
File Metadata
Details
Attached
Mime Type
application/javascript
Expires
Fri, Nov 27, 17:06 (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1206351
Default Alt Text
esbuild.js (424 B)
Attached To
Mode
rJDDE jdd-editor
Attached
Detach File
Event Timeline