|
@@ -14,7 +14,11 @@
|
|
|
// See the License for the specific language governing permissions and
|
|
// See the License for the specific language governing permissions and
|
|
|
// limitations under the License.
|
|
// limitations under the License.
|
|
|
|
|
|
|
|
-const { BUNDLES, getPluginConfig } = require('./desktop/core/src/desktop/js/webpack/configUtils');
|
|
|
|
|
|
|
+const {
|
|
|
|
|
+ BUNDLES,
|
|
|
|
|
+ getPluginConfig,
|
|
|
|
|
+ splitChunksName
|
|
|
|
|
+} = require('./desktop/core/src/desktop/js/webpack/configUtils');
|
|
|
const shared = require('./webpack.config');
|
|
const shared = require('./webpack.config');
|
|
|
|
|
|
|
|
module.exports = {
|
|
module.exports = {
|
|
@@ -27,7 +31,9 @@ module.exports = {
|
|
|
performance: shared.performance,
|
|
performance: shared.performance,
|
|
|
optimization: {
|
|
optimization: {
|
|
|
minimize: true,
|
|
minimize: true,
|
|
|
- splitChunks: {}
|
|
|
|
|
|
|
+ splitChunks: {
|
|
|
|
|
+ name: splitChunksName
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
output: {
|
|
output: {
|
|
|
path: __dirname + '/desktop/core/src/desktop/static/desktop/js/bundles/login',
|
|
path: __dirname + '/desktop/core/src/desktop/static/desktop/js/bundles/login',
|