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

Commit

Permalink
Merge pull request #1 from azu/patch-1
Browse files Browse the repository at this point in the history
docs: fix webpack config for TypeScript
  • Loading branch information
JamesMessinger authored Aug 29, 2020
2 parents 54b5b3f + 391e93b commit 16c5284
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ module.exports = require("@jsdevtools/karma-config")({
browserNoActivityTimeout: 5000, // Set Karma's inactivity timeout
browsers: ["Opera", "Safari"] // Always use these browsers, regardless of OS
webpack: {
resolve: {
extensions: [".js", ".jsx", ".ts", ".tsx"] // Configure Webpack to resolve TypeScript file
},
mode: "production", // Override the default Webpack mode
module: {
rules: [
Expand Down

0 comments on commit 16c5284

Please sign in to comment.