5 ms·
I like that you can use —watch if you don’t want or can’t use HMR for whatever reason (eg. testing with other legacy code). Also it outputs a "dependency" file
by NaN1352 4y ago
I like that you can use —watch if you don’t want or can’t use HMR for whatever reason (eg. testing with other legacy code).
Also it outputs a "dependency" file during build which you can use to infer the correct js/css includes - and this lets you add Webpack like modern js and all plugins like markdown and icons, to a LEGACY app in php. I did it with a Symfony 1.4 app it’s awesome.