Update ReactSpa to React Hot Loader 3. Remove babel dependency.

This commit is contained in:
Steve Sanderson
2017-05-17 21:37:47 +01:00
parent ef9dbfe44b
commit eeaf4e6590
6 changed files with 30 additions and 25 deletions

View File

@@ -2,10 +2,11 @@
"compilerOptions": {
"baseUrl": ".",
"moduleResolution": "node",
"target": "es6",
"jsx": "preserve",
"target": "es5",
"jsx": "react",
"sourceMap": true,
"skipDefaultLibCheck": true,
"types": [ "webpack-env" ],
"paths": {
// Fix "Duplicate identifier" errors caused by multiple dependencies fetching their own copies of type definitions.
// We tell TypeScript which type definitions module to treat as the canonical one (instead of combining all of them).