-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "wasmo" | ||
version = "1.0.14" | ||
version = "1.0.15" | ||
edition = "2021" | ||
authors = ["Zwiterrion <[email protected]>"] | ||
license = "MIT OR Apache-2.0" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const esbuild = require('esbuild'); | ||
|
||
esbuild | ||
.build({ | ||
entryPoints: ['index.js'], | ||
outdir: 'dist', | ||
bundle: true, | ||
sourcemap: true, | ||
minify: false, // might want to use true for production build | ||
format: 'cjs', // needs to be CJS for now | ||
target: ['es2020'] // don't go over es2020 because quickjs doesn't support it | ||
}) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
function greet() { | ||
const name = Host.inputString() | ||
Host.outputString(`Hello, ${name}`) | ||
} | ||
|
||
module.exports = { greet } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.