Tag Archives: Vendor

Sharing and bundling a number of vendor bundles into one vendor bundle utilizing Webpack’s module federation and break up chunks plugins – JavaScript Developer

Sharing and bundling a number of vendor bundles into one vendor bundle utilizing Webpack’s module federation and break up chunks plugins Intro Github repository for the undertaking: https://github.com/IvanGadjo/OneVendorsBundle_ModFedPlugin_SplitChunksPlugin Webpack’s module federation is a way which provides us an perception in how the way forward for micro-frontend structure might appear like. With the flexibility to share…

Read More

Vendor splitting utilizing webpack 4 – React Developer

Vendor splitting utilizing webpack 4 In your webpack config file merely add this piece of code optimization: { minimizer: [ new OptimizeCSSAssetsPlugin(), ], // Mechanically break up vendor and commons // https://twitter.com/wSokra/standing/969633336732905474 // https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366 splitChunks: { chunks: ‘all’, title: false, }, // Preserve the runtime chunk seperated to allow long run caching // https://twitter.com/wSokra/standing/969679223278505985 runtimeChunk:…

Read More