1. 10 Feb, 2017 3 commits
    • Thibault Derousseaux's avatar
      Support relative asset paths for special case (#1489) · 8e127aaa
      Thibault Derousseaux authored
      * Fix paths in CSS files when homepage is set to "./"
      
      In the production build, ExtractTextPlugin is used to generate a separate CSS file instead of injecting style through JavaScript. This plugin does not work well by default with nested output structure. To fix it, we give it a relative publicPath pointing to the build folder.
      
      * Add section in README to explain how to make builds deployable anywhere
      
      * Apply review requested change
      
      * Apply review changes 2
      8e127aaa
    • Joe Haddad's avatar
      Add `PUBLIC_URL` env variable for advanced use (#937) (#1504) · 613b584f
      Joe Haddad authored
      * Add `PUBLIC_URL` env variable for advanced use (#937)
      * Add support for `PUBLIC_URL` env variable
      * Remove unnecessary duplications
      * Simplify served path choice logic
      * Honor PUBLIC_URL in development
      * Add e2e tests
      
      Enables serving static assets from specified host.
      613b584f
    • Jih-Chi Lee's avatar
      Make all react app vars accessible in index.html (#1440) · 1d9159de
      Jih-Chi Lee authored
      * Make all vars accessiable in index.html
      
      * Fix wrong env provieded to DefinePlugin
      
      * Separate results from getClientEnvironment
      
      * The `string` should be object instead of string
      
      * Fix accessing wrong field
      
      * Changed variables naming to `raw` and `stringified`
      
      * Remove trailing commas
      1d9159de
  2. 08 Feb, 2017 1 commit
  3. 11 Dec, 2016 1 commit
  4. 07 Dec, 2016 3 commits
  5. 06 Dec, 2016 3 commits
  6. 21 Nov, 2016 2 commits
  7. 20 Nov, 2016 5 commits
  8. 17 Nov, 2016 1 commit
    • Ville Immonen's avatar
      Support Yarn (#898) · bcc469c9
      Ville Immonen authored
      In the `create-react-app` command, try to install packages using Yarn.
      If Yarn is not installed, use npm instead.
      
      In `react-scripts`, detect if the project is using Yarn by checking if
      a `yarn.lock` file exists. If the project is using Yarn, display all
      the instructions with Yarn commands and use Yarn to install packages
      in `init` and `eject` scripts.
      bcc469c9
  9. 29 Oct, 2016 1 commit
    • Ville Immonen's avatar
      Remove custom babel-loader cache dir config (#983) · 6bda4b97
      Ville Immonen authored
      Upgrade `babel-loader` and remove the cache directory configuration
      that was added in #620. `babel-loader` now uses the
      `./node_modules/.cache/babel-loader` directory by default, so the
      custom config is no longer needed.
      6bda4b97
  10. 19 Oct, 2016 1 commit
  11. 11 Oct, 2016 1 commit
    • Kanitkorn Sujautra's avatar
      Create asset filenames mapping on the build output (#891) · 88c15d09
      Kanitkorn Sujautra authored
      * Create asset filenames mapping on the build output
      
      I use danethurber/webpack-manifest-plugin on Webpack production
      configuration to create a file named `asset-manifest.json` which contain a
      mapping of all asset filenames to their corresponding output file.
      
      `asset-manifest.json` will be located at the root of output folder.
      
      This'll resolve #600
      
      * Add an explanation for ManifestPlugin
      
      * Make webpack-manifest-plugin's version exact
      88c15d09
  12. 07 Oct, 2016 1 commit
  13. 06 Oct, 2016 1 commit
  14. 01 Oct, 2016 1 commit
  15. 30 Sep, 2016 2 commits
  16. 25 Sep, 2016 1 commit
  17. 23 Sep, 2016 3 commits
  18. 22 Sep, 2016 3 commits
  19. 21 Sep, 2016 1 commit
    • Ville Immonen's avatar
      Create a shareable ESLint configuration package (#689) · a2d0469c
      Ville Immonen authored
      * Move ESLint configuration to a separate package
      
      * Remove the ESLint configuration, moved to eslint-config-react-app
      
      * Update ESLint instructions
      
      * Pin the package versions in eslint-config-react-app
      
      * Add a README for eslint-config-react-app
      
      * Update README.md
      
      * Update README.md
      
      * Update README.md
      
      * Update README.md
      
      * Update package.json
      
      * Update package.json
      
      * Update production eslint-loader config
      
      * Add the ESLint config to devDependencies of the repo
      a2d0469c
  20. 19 Sep, 2016 1 commit