Skip to content

Commit

Permalink
Info and links on how to configure output.publicPath for deployment (#…
Browse files Browse the repository at this point in the history
…415)

* Update FAQ.md

Added info on how to configure output.publicPath in webpack config

* Removed NB
  • Loading branch information
iamim authored and coryhouse committed Apr 8, 2017
1 parent 90163c9 commit cf69b17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,8 @@ Nope. Redux is useful for applications with more complex data flows. If your app
* Sets NODE_ENV to prod so that React is built in production mode
* Places the resulting built project files into /dist. (This is the folder you'll expose to the world).

If the app destination is different from the server root (`/`) you need to reconfigure `output.publicPath` in `webpack.config.prod.js` before building the app. See [webpack docs](https://webpack.js.org/configuration/output/#output-publicpath) for more information.

<a name="why-are-test-files-placed-alongside-the-file-under-test-instead-of-centralized"></a>
### Why are test files placed alongside the file under test (instead of centralized)?
Streamlined automated testing is a core feature of this starter kit. All tests are placed in files that end in .spec.js. Spec files are placed in the same directory as the file under test. Why?
Expand Down

0 comments on commit cf69b17

Please sign in to comment.