Skip to content

Commit

Permalink
Update recommended-project-structure.md
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 authored Mar 5, 2017
1 parent d907986 commit 54b280c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/additional-reading/recommended-project-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ This technique involves customization of the webpack config files to generate CS
1. You can use [CSS modules](https://github.com/css-modules/css-modules), which is super compelling once you seen the benefits.
1. You can do hot reloading of your assets. Thus, you do not have to refresh your web page to see asset change, including changing styles.
1. You can run your client code on a mocked out express server for super fast prototyping. In other words, your client application can somewhat more easily be move to a different application server.

#### Updates 2017-03-04 Regarding CSS handled by Webpack
* See article [Best practices for CSS and CSS Modules using Webpack](https://forum.shakacode.com/t/best-practices-for-css-and-css-modules-using-webpack/799).
* In the near future, all docs will be updated to Webpack v2 and probably recommended to move all CSS handling to Webpack v2 for advanced users. In the near term, global CSS handled by Rails will be best for simple projects. Another data point is that Rails is moving in direction of handling JavaScript, but not CSS, with [Webpacker](https://github.com/rails/webpacker).

0 comments on commit 54b280c

Please sign in to comment.