We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07c5092 commit 8637cbeCopy full SHA for 8637cbe
pkg/dart2wasm/lib/target.dart
@@ -186,7 +186,10 @@ class WasmTarget extends Target {
186
bool allowPlatformPrivateLibraryAccess(Uri importer, Uri imported) =>
187
super.allowPlatformPrivateLibraryAccess(importer, imported) ||
188
importer.path.contains('tests/web/wasm') ||
189
- importer.isScheme('package') && importer.path == 'js/js.dart';
+ importer.isScheme('package') &&
190
+ (importer.path == 'js/js.dart' ||
191
+ importer.path.startsWith('ui/') &&
192
+ imported.toString() == 'dart:_wasm');
193
194
void _patchHostEndian(CoreTypes coreTypes) {
195
// Fix Endian.host to be a const field equal to Endian.little instead of
0 commit comments