deno.land / x / sheetjs@v0.18.3 / demos / fusebox / fuse.js

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
const { FuseBox } = require("fuse-box");const common_opts = { homeDir: ".", output: "$name.js"};
const browser_opts = { target: "browser", natives: { Buffer: false, stream: false, process: false }, ...common_opts};
const node_opts = { target: "node", ...common_opts}
const fuse1 = FuseBox.init(browser_opts);fuse1.bundle("client").instructions(">sheetjs.ts"); fuse1.run();
const fuse2 = FuseBox.init(node_opts);fuse2.bundle("server").instructions(">sheetjs.ts"); fuse2.run();
sheetjs

Version Info

Tagged at
2 years ago