Skip to content

Commit 3490ca6

Browse files
authored
Update README.md
1 parent 84a2d9b commit 3490ca6

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,23 +82,18 @@ build system using the [Node.js API](http://webpack.github.io/docs/node.js-api.h
8282
}
8383
```
8484

85-
2. Add a `tsconfig.json` file. <a name="tsconfig"></a>
85+
2. Add a [`tsconfig.json`](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) file. (The one below is super simple; but you can tweak this to your hearts desire)
8686

87-
```javascript
87+
```json
8888
{
8989
"compilerOptions": {
90-
"target": "es5",
91-
"sourceMap": true
92-
},
93-
"exclude": [
94-
"node_modules"
95-
]
90+
}
9691
}
9792
```
9893

9994
The [tsconfig.json](http://www.typescriptlang.org/docs/handbook/tsconfig-json.html) file controls
10095
TypeScript-related options so that your IDE, the `tsc` command, and this loader all share the
101-
same options. TypeScript files from all subdirectories will get included except the ones matching `exclude`.
96+
same options.
10297

10398
### Failing the build on TypeScript compilation error
10499

0 commit comments

Comments
 (0)