Skip to content

Commit 67b6616

Browse files
authored
fixing typos and removing redundant stuff
1 parent c91d7da commit 67b6616

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/guides/webpack-and-typescript.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ module.exports = {
6161
]
6262
},
6363
resolve: {
64-
extensions: ["*", ".tsx", ".ts", ".js"]
64+
extensions: [".tsx", ".ts", ".js"]
6565
},
6666
};
6767
```
6868

6969
Here we specify our entry point to be __index.ts__ in our current directory,
7070
an output file called __bundle.js__
71-
and our TypeScript loader that is in charge of compiling our TypeScript file to JavaScript. We also add `resolve.extensions` to insruct webpack what file extensions to use when resolving Typescript modules.
71+
and our TypeScript loader that is in charge of compiling our TypeScript file to JavaScript. We also add `resolve.extensions` to instruct webpack what file extensions to use when resolving Typescript modules.
7272

7373
## Typescript loaders
7474

@@ -122,7 +122,7 @@ module.exports = {
122122
]
123123
},
124124
resolve: {
125-
extensions: ["*", ".tsx", ".ts", ".js"]
125+
extensions: [".tsx", ".ts", ".js"]
126126
},
127127
devtool: 'inline-source-map',
128128
};

0 commit comments

Comments
 (0)