sebastian-software / edge

The Lerna Repository for Edge Platform
Apache License 2.0
33 stars 7 forks source link

Use Webpack DLL feature for vendor bundle for improving build times #7

Open swernerx opened 6 years ago

swernerx commented 6 years ago

To improve build times it seems reasonable to use the DLL feature of Webpack. This is especially interesting for development. We already have a vendor bundle handling in edge-builder. This somehow needs to be extended in a way so that the vendor bundle is created upfront, when missing, and re-used afterward.

swernerx commented 6 years ago

There is also a Webpack plugin automating the whole process. Unfortunately, the development stalled a few months ago. We might re-evaluate if this is helpful: https://github.com/asfktz/autodll-webpack-plugin

fetchTe commented 6 years ago

Good news on this front Webpack 4 support should be expected in the near future.

https://github.com/asfktz/autodll-webpack-plugin/issues/105