@yowasp/yosys 0.0.0-experimental1 → 0.0.0-experimental2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gen/bundle-browser.js +1 -1
- package/package.json +1 -1
package/gen/bundle-browser.js
CHANGED
|
@@ -4537,7 +4537,7 @@ async function instantiate(getCoreModule, imports, instantiateCore = WebAssembly
|
|
|
4537
4537
|
}
|
|
4538
4538
|
|
|
4539
4539
|
// lib/api.js
|
|
4540
|
-
var baseURL = "
|
|
4540
|
+
var baseURL = "https://unpkg.com/@yowasp/yosys@0.0.0-experimental2/gen/bundle-browser.js";
|
|
4541
4541
|
console.log("baseURL", baseURL);
|
|
4542
4542
|
var yosys = new Application(baseURL, {
|
|
4543
4543
|
"share": "./yosys-share.json"
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@yowasp/yosys", "version": "0.0.0-
|
|
1
|
+
{"name": "@yowasp/yosys", "version": "0.0.0-experimental2", "description": "Yosys Open SYnthesis Suite", "author": "Catherine <whitequark@whitequark.org>", "license": "ISC", "homepage": "https://yowasp.org/", "repository": {"type": "git", "url": "git+https://github.com/YoWASP/yosys.git"}, "bugs": {"url": "https://github.com/YoWASP/yosys/issues"}, "type": "module", "files": ["gen/*.json", "gen/*.wasm", "gen/bundle-*.js"], "exports": {"node": "./gen/bundle-node.js", "browser": "./gen/bundle-browser.js"}, "dependencies": {"@yowasp/runtime": "../../runtime-js"}, "devDependencies": {"@bytecodealliance/jco": "^0.14.1", "esbuild": "^0.19.8"}, "scripts": {"pack": "yowasp-pack-resources ../yosys-build/share gen/yosys-share.json", "transpile": "jco new ../yosys-build/yosys.wasm --wasi-command --output yosys.wasm && jco transpile yosys.wasm --instantiation async --no-typescript --no-namespaced-exports --map 'wasi:io/*=runtime#io' --map 'wasi:cli/*=runtime#cli' --map 'wasi:clocks/*=runtime#*' --map 'wasi:filesystem/*=runtime#fs' --out-dir gen/", "build:node": "esbuild --bundle lib/api.js --outfile=gen/bundle-node.js --format=esm --platform=node --define:BASE_URL=null", "build:browser": "esbuild --bundle lib/api.js --outfile=gen/bundle-browser.js --format=esm --platform=browser --define:BASE_URL=\\\"https://unpkg.com/@yowasp/yosys@0.0.0-experimental2/gen/bundle-browser.js\\\""}}
|