Comments (3)
That was exactly the issue, JS is running fine, but i got lots of issues after compling to wasm.
If you run into any issues in our compilers, libraries etc, please don't hesitate to reach out!
from sdk.
For fast turnaround during development of apps in Dart for web we recommend to use DDC. Dart2wasm is (similar to dart2js) for deploying apps.
That being said if one has to debug issues that only happen with dart2wasm compiled apps, I can recommend using the -O0
flag (flutter build web --wasm -O0
/ dart compile wasm -O0
) which will turn off optimizations and keeps static symbol names, does not minify runtime type names, etc.
Additionally we do plan on offering source maps support (@osa1 is working on it atm)
from sdk.
That was exactly the issue, JS is running fine, but i got lots of issues after compling to wasm.
Thanks for the info on the flags!
from sdk.
Related Issues (20)
- [resource_identifiers] closures out of static functions
- pkg/json breaks when a field name contains $ HOT 2
- [vm/ffi] `Pointer.asTypedList` shared across isolates causes use after free
- WASM incorrectly advertises dart.library.js HOT 2
- CFE fails to notice record field name differences when performing subtype matches HOT 1
- extension type on a Function named call HOT 7
- Invalid fixes being suggested
- Add a fix to create an extension method
- How should I load JS libraries from within WASM? HOT 2
- Macros: Failure to compile redirecting factories HOT 2
- [resource_identifiers] Rename to recorded_references. HOT 1
- [native_assets][resource_identifiers] Deferred loading and assets HOT 2
- Dart WebSocket Connection to webserver Exhibits Inconsistent Behavior and Premature Closure HOT 3
- JsonCodable macro field names HOT 1
- Support `environment` parameter for `Isolate.spawnUri` HOT 4
- Switch to RBE broke tools/generate_idefiles.py and compile_commands.json HOT 1
- Consider `EXTRANEOUS_MODIFIER` diagnostic improvements
- Dart LSP re-analyzes project when typing starts after period of inactivity HOT 6
- Move `Listenable`, `ValueListenable`, `ChangeNotifier` and `ValueNotifier` to the Dart sdk and add listening methods HOT 22
- Erroneous RangeError when compiling to WASM HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdk.