Questions tagged [webpack]
Webpack is a website bundler for JavaScript-based websites.
7 questions
2
votes
0
answers
117
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 '...
2
votes
0
answers
361
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 ...
8
votes
1
answer
903
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), ...
3
votes
1
answer
2k
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 ...
1
vote
2
answers
207
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 ...
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 ...
1
vote
1
answer
1k
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 ...