forked from firka/flutter
[web] Pass --no-source-maps instead of --extra-compiler-option=--no-source-maps to dart compile wasm (#153417)
This commit is contained in:
committed by
GitHub
parent
92c98e80ff
commit
354902f7ca
@@ -157,7 +157,7 @@ class WasmCompilerConfig extends WebCompilerConfig {
|
||||
return <String>[
|
||||
'-O$optimizationLevel',
|
||||
'--${stripSymbols ? '' : 'no-'}strip-wasm',
|
||||
if (!sourceMaps) '--extra-compiler-option=--no-source-maps',
|
||||
if (!sourceMaps) '--no-source-maps',
|
||||
if (buildMode == BuildMode.debug) '--extra-compiler-option=--enable-asserts',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user