Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F1374770
esbuild.cjs
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
423 B
Referenced Files
None
Subscribers
None
esbuild.cjs
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
:
"./lib"
,
logLevel
:
"info"
,
platform
:
"node"
,
watch
,
target
:
"node16"
,
format
:
"esm"
,
});
})();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 25, 09:48 (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
609886
Default Alt Text
esbuild.cjs (423 B)
Attached To
Mode
rATOH add-to-head
Attached
Detach File
Event Timeline
Log In to Comment