Webpack packaging failed

I tried following the tutorial,webpack packaging, but the results were not ideal, I tried to solve, but there are still problems



image

image

Hello!

I have written an article few months ago on how to get the most out of webpack 4 - Webpack 4 and how the kilobyte killed the megabyte star which includes a full baked config.

You can copy paste the final config, and you will get:

  • Hot reloading with sub 100ms builds
  • Separate bundles for app and vendor stuff, both CSS and JS
  • Caching
  • Uglyfying of both JS and CSS
  • Code splitting if you wish to use it (dynamic imports)
  • Compression
1 Like