chat-with-gpt/app
ZauberNerd 0701303563
Use comlink without vite-plugin-comlink
For some reason the vite-plugin-comlink doesn't seem to work in this
constellation.
I tried to reproduce in a new vite project and there it did work.
But also, the plugin does some horrible magic by replacing a
non-existant constructor `ComLinkWorker()` with the `wrap()` method
and then the only real benefit is, that we wouldn't need to write the
`expose()` method in the worker. So for that reason I'm removing the
plugin and using the comlink package directly.
2023-07-08 15:42:43 +02:00
..
public Replace create-react-app with vite 2023-07-07 22:13:33 +02:00
src Use comlink without vite-plugin-comlink 2023-07-08 15:42:43 +02:00
.gitignore v0.2.0 2023-03-14 11:00:40 +00:00
index.html Replace create-react-app with vite 2023-07-07 22:13:33 +02:00
package.json Use comlink without vite-plugin-comlink 2023-07-08 15:42:43 +02:00
tsconfig.json v0.2.0 2023-03-14 11:00:40 +00:00
vite.config.js Use comlink without vite-plugin-comlink 2023-07-08 15:42:43 +02:00