Skip to content

Commit a38ef0e

Browse files
author
mt-roberto
committed
chore(webpack+tsconfig): clean up
1 parent 6bbd991 commit a38ef0e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"target": "es5",
44
"module": "commonjs",
55
"declaration": true,
6+
"esModuleInterop": true,
67
"outDir": "./dist",
78
"strict": true,
89
"strictPropertyInitialization": false,
@@ -11,6 +12,6 @@
1112
"strictNullChecks": true,
1213
"lib": ["es2015", "dom"]
1314
},
14-
"include": ["./src/**/*.ts", "./src/**/*.tsx", "./src/**/*.json"],
15+
"include": ["./src/**/*.ts", "./src/**/*.json"],
1516
"exclude": ["./dist", "./node_modules", "*/**/__tests__"]
1617
}

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = {
1414
umdNamedDefine: true
1515
},
1616
resolve: {
17-
extensions: ['.ts', '.tsx', '.js']
17+
extensions: ['.ts', '.js']
1818
},
1919
module: {
2020
rules: [

0 commit comments

Comments
 (0)