Webpack 4 - development or production builds

preview_player
Показать описание
Webpack 4 has a mode option that allows us to specify a development of production build. This videos gives an overview of what exactly each of these options do for us
Рекомендации по теме
Комментарии
Автор

Good stuff! thanks for showing all the options

justinoneill
Автор

Hi Thanks for the tutorial. I have two configs for webpack prod and dev. My dev bundle works fine but when I run the prod mode I get the error below

Uncaught Error: [$injector:modulerr] Failed to instantiate module bolt due to:
Error: [$injector:unpr] Unknown provider: e

Why would my prod mode fail in the first place? Any immediate solution? Thanks

aswink