Skip to content

Commit 190f3dc

Browse files
authored
Minor readme documentation fixes
1 parent 1adbb01 commit 190f3dc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

readme.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Alternatively you can clone it via git. After that, just install the dependencie
1717
$ git clone https://github.com/teck-digital/typescript-webpack-template
1818
1919
# Go into the repository
20-
$ cd typescript-webpack-config
20+
$ cd typescript-webpack-template
2121
2222
# Install dependencies
2323
$ yarn install
@@ -89,17 +89,18 @@ $ npm run dev
8989

9090
### Modifying executed file
9191

92-
By default, when webpack config contains only one output file that file will be run.
93-
If more files are present, then a file named server.js or index.js (whichever exists) will be run.
94-
If you need to modify this, you can pass in the following option to your webpack config:
92+
By default, when webpack config contains only one output file, that file will be run.
93+
If more files are present, a file named server.js or index.js (whichever exists) will be run.
94+
If you need to modify this, you can pass the following option to your webpack config:
9595

9696
```javascript
9797
// config/webpack.config.dev.js
9898

9999
...
100100

101101
plugins: [
102-
plugins: [new RunNodeWebpackPlugin({scriptToRun: "yourScript.js"}), ...],
102+
new RunNodeWebpackPlugin({scriptToRun: "yourScript.js"}),
103+
...
103104
],
104105

105106
...

0 commit comments

Comments
 (0)