From 49c207b97393953db49395cd6e7f672c0941443d Mon Sep 17 00:00:00 2001 From: Max Hoffmann Date: Mon, 25 Sep 2023 06:59:00 -0700 Subject: [PATCH] Fixes entry point in webpack config to allow js and ts files --- scripts/build/production.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/production.ts b/scripts/build/production.ts index fac9e3d..9a649bc 100644 --- a/scripts/build/production.ts +++ b/scripts/build/production.ts @@ -27,7 +27,7 @@ function createBundleConfig(bundle: Bundle, {analyser}: Options) { const config: Configuration = { mode: 'production', - entry: `./src/${bundle.source}.js`, + entry: `./src/${bundle.source}`, output: { path: `${targetPath}${outputPath}`, filename: `${bundle.filename}.js`,