Ivan Kopeykin

Results 239 comments of Ivan Kopeykin
trafficstars

first of all we need to solve memory leak issue with [module graph](https://github.com/webpack/webpack/blob/main/lib/ModuleGraph.js#L849).. otherwise all modules will be in this `WeakMap` until `compiler. _cleanupLastCompilation` will not be called..

> I can come back with a codesandbox example if necessary. please create small reproducible repo or codesandbox

@bahtou you have entry point with the same name as chunk. since entrypoint also is a chunk ( just initial one ) you getting error _________________ anyway we should improve...

> it would be great if this use case was allowed instead of throwing an error. thats impossible since `[name]` should be unique

pls use https://github.com/softwareventures/resolve-typescript-plugin

@alexander-akait what should we do here? sounds like this is limitation to use `globalObject: "this"` ( in this case ) ______ Mostly we use arrow functions where we can use...

> I think we should not use arrow function in some cases we use it only if environment supports it.

problem is we can't check just for `web`... maybe we should support `window.Worker` and `globalThis.Worker` by default? btw for Node.js we does this ( we support `new Worker` for Node.js...

> inline the web worker in dev mode you mean using blob? webpack can only output it as bundle..