Commit a909bb2
committed
include the worker in the library (inline, instead of separate chunk)
otherwise, it'ss hard for the library clients to get the worker loaded.
In vite, it requires to set `optimizeDeps.exclude=["hyperparam"]` in
vite.config.ts to get it working in dev mode. And in nextJS, I don't
know how to make it work.1 parent 970ab02 commit a909bb2
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | | - | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
0 commit comments