-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Top-level await in fs.js when building for browser environment #14
Comments
It's strange. Does your target environment include any of those unsupported browser versions?
It does not load fs.js for the browser environment, but just tries to load it, and if it fails it falls back. |
The thing is, the target environments from that error message are not defined in our code at all. Looks like they're part of the standard configuration passed to vite by Angular CLI. And according to this issue it's not possible to customize vite's config. |
also using vite, also experiencing the same issue |
Could you try v0.5.2-dev.79+a6c56f26? I addressed the issue and it might be fixed. |
Unfortunately not, the error is the same, only the line number has changed:
|
@M0ns1gn0r Could you try v0.5.2-dev.81+88f228ae? I tested it with Angular CLI, and it apparently works well. |
Yes, that has fixed it, thank you! |
I added logtape to an Angular app. When I start
ng serve
and open the web page I get the error:It's unclear to me why fs.js wants to load at all for the browser environment. Could help me to fix the problem?
The text was updated successfully, but these errors were encountered: