Skip to content

Commit 55fab71

Browse files
committed
docs(guides): minor updates to typescript guide
1 parent cd4e2f6 commit 55fab71

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/content/guides/typescript.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,26 @@ T> This guide stems from the [*Getting Started*](/guides/getting-started/) guide
1616

1717
First install the TypeScript compiler and loader by running:
1818

19-
``` bash
20-
npm install --save-dev typescript ts-loader
21-
```
19+
``` bash
20+
npm install --save-dev typescript ts-loader
21+
```
2222

2323
Now we'll modify the directory structure & the configuration files:
2424

25-
__project__git stat
25+
__project__
2626

2727
``` diff
28-
webpack-demo
29-
|- package.json
28+
webpack-demo
29+
|- package.json
3030
+ |- tsconfig.json
31-
|- webpack.config.js
32-
|- /dist
33-
|- bundle.js
34-
|- index.html
35-
|- /src
36-
|- index.js
37-
+ |- index.ts
38-
|- /node_modules
31+
|- webpack.config.js
32+
|- /dist
33+
|- bundle.js
34+
|- index.html
35+
|- /src
36+
|- index.js
37+
+ |- index.ts
38+
|- /node_modules
3939
```
4040

4141
__tsconfig.json__
@@ -88,7 +88,7 @@ module.exports = {
8888
};
8989
```
9090

91-
This will direct webpackgit sdt to _enter_ through `./index.ts`, _load_ all `.ts` and `.tsx` files through the `ts-loader`, and _output_ a `bundle.js` file in our current directory.
91+
This will direct webpack to _enter_ through `./index.ts`, _load_ all `.ts` and `.tsx` files through the `ts-loader`, and _output_ a `bundle.js` file in our current directory.
9292

9393

9494
## Loader

0 commit comments

Comments
 (0)