Questions tagged [webpack]

Webpack is a website bundler for JavaScript-based websites.

Filter by
Sorted by
Tagged with
2 votes
0 answers
84 views

Digging deeper into differentiation and benefits of micro-frontends, module federation, and 'live' application assembly architectures

Our team is exploring microfrontends as part of the suite of applications we currently offer our clients. A few questions come to mind which I'd appreciate thoughts on: I understand how a 'shell' or '...
user avatar
  • 121
1 vote
0 answers
122 views

Build & deploy individual apps from a monorepo

My Proposed Monorepo Architecture This layout is what I've come up with from reading through tons of articles and being convinced that Nx suits many of our needs where I work. The layout works fine ...
user avatar
  • 111
6 votes
1 answer
561 views

Should published npm packages target ES5 syntax?

A bit of background: I've been using Webpack with babel-loader for a while and overall the experience has been hugely positive. Yesterday, I published an npm package of my own (to a private registry), ...
user avatar
  • 660
2 votes
1 answer
483 views

Many small files vs fewer larger files: impact on bundle size and build time

I've been a relentless proponent of small files. I prefer one function export per file, functions with everything-in-one-view, and breaking up UI components as much as sensible (which is why I love ...
user avatar
  • 139
1 vote
2 answers
179 views

How to declare the need of polyfills publishing jquery plugin (and specially for webpack users)?

I've created jquery plugin that is using modern browser's (Node/Element) features. I'm going to publish plugin as npm package. My wish is not to include polyfills code into jquery plugin, bud declare ...
user avatar
4 votes
1 answer
1k views

Webpack and Lazy Load for large-scale Web Application

Background I am trying to develop with Webpack and JavaScript. Webpack would bundle all source code into one single file. When application becomes large, the file would be very large and cause ...
user avatar
  • 349
1 vote
1 answer
888 views

Deployment process for deploying nodejs application to production using webpack

I'm trying to work out what the correct process for deploying a nodejs application to a production environment should me, using webpack. If this was a standard Java/Maven project I might do ...
user avatar
  • 2,402