From c221d943391b5ad69bb2b95f278c28735fe9c7ae Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Thu, 7 Jul 2022 18:42:04 +0000 Subject: [PATCH] chore: fix up webpack output to be linkable --- webpack.config.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 30ff8ede0..d2d990405 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -20,6 +20,10 @@ module.exports = { extensions: ['.tsx', '.ts', '.js'], }, output: { - filename: 'bundle.js', - } + filename: 'blockly_compressed.js', + library: { + type: 'umd', + name: 'blockly', + }, + }, };