Ivan Kopeykin

Results 239 comments of Ivan Kopeykin
trafficstars

here for Warning https://github.com/webpack-contrib/postcss-loader/blob/master/src/Warning.js and Error

@webpack-bot transfer webpack-contrib/postcss-loader

@alexander-akait maybe as a trade off use `Error` class for this?..

yeah, thats how current webpack version works.. tree-shaking happens after building a tree. Also this will not work great with incremental builds and cache. For incremental build in your case...

> is there only treebuilding happening? all modules are parsed. > or is there also compilation upon the subtree? not sure what you mean by compilation.. module graph is optimizing...

> By compilation I meant running the files through loaders. yes, this is a part of creating module graph.

> In the above example repo babel will be ran on each file loaded from some-module and its dependencies? yes > Why is this needed to build the module graph?...

in multicompiler mode next compilation could depends on previous one https://github.com/webpack/webpack/blob/main/schemas/WebpackOptions.json#L396 . but maybe this could be improved.

lets implement `compiler.runOnce` that will run and close compilers. ( maybe use in in `webpack-cli` then )