Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 391e93b

Browse files
authored
docs: fix webpack config for TypeScript
1 parent 54b5b3f commit 391e93b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ module.exports = require("@jsdevtools/karma-config")({
121121
browserNoActivityTimeout: 5000, // Set Karma's inactivity timeout
122122
browsers: ["Opera", "Safari"] // Always use these browsers, regardless of OS
123123
webpack: {
124+
resolve: {
125+
extensions: [".js", ".jsx", ".ts", ".tsx"] // Configure Webpack to resolve TypeScript file
126+
},
124127
mode: "production", // Override the default Webpack mode
125128
module: {
126129
rules: [

0 commit comments

Comments
 (0)