:wq:A simple spike using webpack and dll plugin to power a core app and a plugin architecture based on static bundles (DLLs).
Just a simple web app to demonstrates the concept and also loads some
heavy dependencies like react
and highcharts
.
This is the key software part of the main concept. The component is still under development. Check the Todo Roadmap to know what will be done here.
The bundler can be run with node ./bundler
. There are some run options
you can pass to it:
Run the bundler compiler component.
Run the bundler loader component.
Run the chosen type
with the production configurations.
Run the chosen type
with the development configurations.
Use type
and mode
with the default bundler runtime.
Use type
and mode
and export the config in order to be
used somewhere else.
When the target is webpack-dev-server
, the options type
and mode
are always type=loader
and mode=development
and they run
on webpack-dev-server
.
Those are the values used if we don't define any run option.