Roman Usherenko
Roman Usherenko
anything else I need to do to move this forward?
Yup, thx. I'll make a PR then
done https://github.com/rbenv/ruby-build/pull/1929
downgrade to webpack 4.19.0 see #443
webpack is not broken. hardsource is broken when working with webpack 4.19.1 and up
ok i think i'm getting closer when HS freezes modules it [calls](https://github.com/mzgoddard/hard-source-webpack-plugin/blob/ffe2e641e5a4503b0bd8ed79a82f4716849dba4f/lib/TransformNormalModulePlugin.js#L583) `_initBuildHash` which recalculates the module hash even if it was already calculated before. moreover at this stage module.buildMeta...
yes! i wanted to suggest just the same. on my setup hard source shaves off 80% of initial wds build time but the incremental builds are 2-3 times slower (3...
i've made a workaround to make HSWP run only on initial WDS build ```js // in your webpack config class HardSourceWDSPatchPlugin { apply(compiler) { compiler.hooks.invalid.tap('HardSourceWDSPatchPlugin', () => { compiler.hooks.watchRun.taps =...
yeah... I've dropped this monkeypatch some time ago - the incremental builds were still slow with HSWP. I've stopped using HSWP for WDS altogether
I'm using HSWP for non-WDS and production builds. It's sad to lose the initial build time (around 80% too) but I rarely restart wds