You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use some libraries in a web application that depend on the watcher package's ChangeType and the file package's MemoryFileSystem classes. I can compile the application with dart2js, but not with ddc. As the application grows, the compile time also increases.
The text was updated successfully, but these errors were encountered:
We do not support compiling web projects with unsupported imports. This shouldn't be allowed even for dart2js builds using build_runner, although regular dart2js may support it.
The file package is an interesting case, because it is using dart:io just as an interface. I do wish we had the ability to support that, but in general dart:io is not supposed to be allowed, an exception was made only for flutter web and the intention has always been that it should be temporary. We don't want to proliferate that exception to any web project.
I'm trying to use some libraries in a web application that depend on the
watcher
package'sChangeType
and thefile
package'sMemoryFileSystem
classes. I can compile the application withdart2js
, but not withddc
. As the application grows, the compile time also increases.The text was updated successfully, but these errors were encountered: