React.js Webpack Setup - TwoGears/hakomo-guides GitHub Wiki

Overview and setup for project

Misc points:

  • use sass (dart-sass) instead of node-sass. Supports mixed units ex. 10px + 1em
  • use resolve-url-loader or url() in imported .scss files from a different folder will fail.
  • env variables for different environments