File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff 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
101101plugins: [
102- plugins: [new RunNodeWebpackPlugin ({scriptToRun: " yourScript.js" }), ... ],
102+ new RunNodeWebpackPlugin ({scriptToRun: " yourScript.js" }),
103+ ...
103104],
104105
105106...
You can’t perform that action at this time.
0 commit comments