Ivan Kopeykin
Ivan Kopeykin
could you provide both profiles without arrow function and with it?
@Rush set `output.environment.arrowFunction=false`, see https://webpack.js.org/configuration/output/#outputenvironment . this should help
@joemarshall didn't get what you mean.. webpack does nothing with ```js this._worker = new Worker(window.URL.createObjectURL(blob)); ``` since this is not statically analyzable
@sokra is it still an issue?
there is an opened PR https://github.com/webpack/webpack/pull/14661
@alexander-akait what should we do here?
I think parser does not support them.. (`@webassemblyjs/wasm-parser`) . Right now there is no workaround for this.
> Why webpack try to parse it? There are some exports optimization.. so webpack parsing wasm. > can we just use file-loader? yes, sure. also in webpack@5 there is `asset`...
> e.g. by searching harder for a parent package.json file under certain circumstances? from https://docs.npmjs.com/creating-a-package-json-file ``` package.json fields: Required name and version fields ``` So basically this is always required...
ok, webpack should implement for shared modules package.json more smart resolving..