FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
binaryen.js/scripts/bundle.js at main · AssemblyScript/binaryen.js · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
AssemblyScript
/
binaryen.js
Public
Notifications
You must be signed in to change notification settings
Fork
54
Star
403
Code
Issues
8
Pull requests
5
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
binaryen.js
/
scripts
/
bundle.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (18 loc) · 447 Bytes
Breadcrumbs
binaryen.js
/
scripts
/
bundle.js
Copy path
File metadata and controls
20 lines (18 loc) · 447 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import
esbuild
from
"esbuild"
;
const
prelude
=
`/**
* @license
* Copyright
${
new
Date
(
)
.
getFullYear
(
)
}
The Binaryen Authors.
* SPDX-License-Identifier: Apache-2.0
*/`
;
esbuild
.
build
(
{
entryPoints
:
[
"./src/index.js"
]
,
bundle
:
true
,
minify
:
true
,
format
:
"esm"
,
platform
:
"node"
,
// Emscripten artifacts require path and fs, but don't use them
outfile
:
"./index.js"
,
legalComments
:
"none"
,
banner
:
{
js
:
prelude
}
,
}
)
;
Back
|
FazBrowse Home
|
New Git URL