From 378e2009fbaf3296d9ad6547950ec6e0b5969ba5 Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Fri, 28 Oct 2022 14:41:17 -0700 Subject: [PATCH] fix(template-typescript-webpack): webpack entrypoint extensions (#3014) --- packages/template/typescript-webpack/tmpl/forge.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/template/typescript-webpack/tmpl/forge.config.ts b/packages/template/typescript-webpack/tmpl/forge.config.ts index e034b75d3c..808b0bf043 100644 --- a/packages/template/typescript-webpack/tmpl/forge.config.ts +++ b/packages/template/typescript-webpack/tmpl/forge.config.ts @@ -29,10 +29,10 @@ module.exports = { entryPoints: [ { html: './src/index.html', - js: './src/renderer.js', + js: './src/renderer.ts', name: 'main_window', preload: { - js: './src/preload.js', + js: './src/preload.ts', }, }, ],