Skip to content

Commit 7f18d53

Browse files
authored
Merge pull request #425 from adil192/feat/remove-wasm-assets
remove wasm/js assets for non-web builds
2 parents 9c9625e + 62f0502 commit 7f18d53

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

pubspec.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,14 @@ flutter:
6363

6464
assets:
6565
# These assets are only needed for the web platform.
66-
# Waiting for https://github.com/flutter/flutter/issues/65065 and
67-
# https://github.com/flutter/flutter/issues/8230 to be addressed.
68-
# to make a conditional build.
69-
- web/worker.dart.js
70-
- web/libflutter_soloud_plugin.js
71-
- web/libflutter_soloud_plugin.wasm
72-
- web/init_module.dart.js
66+
- path: web/worker.dart.js
67+
platforms: [web]
68+
- path: web/libflutter_soloud_plugin.js
69+
platforms: [web]
70+
- path: web/libflutter_soloud_plugin.wasm
71+
platforms: [web]
72+
- path: web/init_module.dart.js
73+
platforms: [web]
7374

7475
funding:
7576
- https://github.com/sponsors/alnitak

0 commit comments

Comments
 (0)