From 6c539d60a8440ee3afaa789bd74ab4328ed5e119 Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Fri, 8 Jul 2022 22:01:48 +0000 Subject: [PATCH] change entry for testing --- webpack.config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 520213544..340071c16 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -9,7 +9,9 @@ const CircularDepencencyPlugin = require('circular-dependency-plugin'); module.exports = { mode: 'development', devtool: 'inline-source-map', - entry: './core/blockly.ts', + entry: { + blockly_compressed: './core/blockly.ts', + }, module: { rules: [ { @@ -28,7 +30,7 @@ module.exports = { extensions: ['.tsx', '.ts', '.js'], }, output: { - filename: 'blockly_compressed.js', + filename: '[name].js', library: { type: 'umd', name: 'blockly',