We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5584f5c commit 36e4008Copy full SHA for 36e4008
lessons/11-productionish-server/README.md
@@ -27,6 +27,16 @@ scripts entry in package.json to look like this:
27
},
28
```
29
30
+In the root directly, go open up `webpack.config.js` and add the publicPath '/' as per below:
31
+```
32
+// webpack.config.js
33
+ output: {
34
+ path: 'public',
35
+ filename: 'bundle.js',
36
+ publicPath: '/'
37
+ },
38
39
+
40
When you run `npm start` it checks if the value of our `NODE_ENV` environment variable is
41
`production`. If yes, it runs `npm run start:prod`, if not, it runs
42
`npm run start:dev`.
0 commit comments