Tobias Koppers

Results 178 comments of Tobias Koppers

no hurry. I just wanted to document it.

Heyho, I see the need for a different HMR API for non-bundlers, as the webpack HMR API won't work for native ESM. I totally understand why you are creating a...

For tree-shaking to work with a barrel file you need * flag the file and/or the child files as side effect free (`"sideEffects": false` in package.json) * build in production...

> > not bundle the library (it must be in separate files for sideEffects to work > > @sokra I want to have barrel files as the `main` file for...

Interesting proposal, but I have a few questions: I guess the idea is to make it similar to the `mappings` field, which why I wondered about the following differences: *...

> Implementing this as the pointer to source line+col rather than generated line+col reduces the implementation complexity and number of tools that need to be updated to take advantage of...

> Pack got invalid because of write to: ProgressPlugin|counts The progress plugin caches the module count when it changes. Somehow it seem to unexpectedly change...

Yep good idea to continue on that. You need to look into the NormalModuleFactory in webpack. It resolves an array of loaders in some method and creates the argument that...