mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 23:04:52 +09:00
The module sharing in Webpack works on a per import basis and therefore doesn't trigger when the value in the config is @clusterio/lib while the module imported is @clusterio/lib/config. This in turn caused a copy of lib to be bundled with each plugin. Fix by making sure each lib import is shared and specified in the configs.