-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VueJS/Vite incompatibility #2449
Comments
Running in Brave:
Same issue on
|
This is intriguing. We are running a Web Worker, and apparently there's a syntax error in the code in the worker. I don't really know how that could happen, but my main hypothesis would be that you're using an old version of WebPack that has a bug somewhere. We know that WebPack v5 works, while v4 requires some additional configuration and has some issues. If it's possible, a way for us to reproduce the error would be the easiest. |
Vue2 doesn't play nice with webpack 5... and Vue3 is not production-ready yet |
Yes, it seems to be an issue with webpack. |
@dcolley have you succeeded with Vite?
Interesting that Basic Vite config:
|
I honestly don't know what to do here. It seems that there are many different bundlers/executors in the JS ecosystem, and the list of features that overlap between all these bundlers/executors is extremely small. Basically just ECMAScript. In principle, we could modify smoldot so that the user of the library would have to manually "plug" the features that aren't native to JavaScript, which are workers, WebSocket, and crypto. |
Running
rpc-provider
into our VueJS dApp.I am able to use
wsProvider
without any issues.App.vue
package.json
vue.config.js
How can I provide more info?
The text was updated successfully, but these errors were encountered: