Closed fitzgen closed 6 years ago
In some situations it makes sense to only run wasm-opt if it is available, in others it makes sense to require that it is present and make it a fatal error when it is missing. We should have a flag in the config options to control this behavior.
wasm-opt
Ok, what should be the configuration?
Maybe something like:
new RustPlugin({ wasmopt: { required: true } })
Looks perfect!
In some situations it makes sense to only run
wasm-opt
if it is available, in others it makes sense to require that it is present and make it a fatal error when it is missing. We should have a flag in the config options to control this behavior.