From 80c8deff13bc166d8c673c5f6eec154c2125ac76 Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Sat, 27 Feb 2021 17:07:26 -0600 Subject: [PATCH] Update webpack config --- webpack.config.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 9ddc9a44a..6775923da 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -111,10 +111,10 @@ module.exports = [ // to run editor examples defaultsDeep({}, base, { entry: { - editor: './src/playground/editor.jsx', - player: './src/playground/player.jsx', - fullscreen: './src/playground/fullscreen.jsx', - embed: './src/playground/embed.jsx', + 'editor': './src/playground/editor.jsx', + 'player': './src/playground/player.jsx', + 'fullscreen': './src/playground/fullscreen.jsx', + 'embed': './src/playground/embed.jsx', 'addon-settings': './src/playground/addon-settings.jsx' }, output: { @@ -134,7 +134,8 @@ module.exports = [ optimization: { splitChunks: { chunks: 'all', - minChunks: 2 + minChunks: 2, + minSize: 50000 }, runtimeChunk: { name: 'runtime'