Commit d06a1d1
committed
Install events library from npm
Bundlers like vite does not automatically polyfill node modules,
functionPlot uses the events library from npm and relies on the
bundler to bundle it when needed.
The solution is to install events from npm, it has the same API
and it tells the bundler that it should install it when functionPlot
is used.1 parent e3dfb55 commit d06a1d1
3 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
0 commit comments