- 05 Mar, 2017 1 commit
-
-
Dan Abramov authored
* Read script names from own bin instead of guessing This fixes ejecting from a fork that uses a different bin script name. * Fix ejecting for a scoped react-scripts fork We shouldn't hardcode react-scripts because fork name might differ. We also shouldn't rely on it being an immediate child because scoped packages are a level deeper. * Clarify that own* properties only exist before ejecting
-
- 04 Mar, 2017 2 commits
-
-
pd4d10 authored
Remove unused `url` import in Webpack config
-
Daniel Grant authored
* Refactor start script into modules * Move dev server config into config file * Replace eject file whitelist with a "remove-file-on-eject" flag * Move utils into scripts folder (for inclusion in ejection) * Add missed changes * Pass showInstructions as an argument * Fix eject bug * Don't eject babelTransform
-
- 28 Feb, 2017 1 commit
-
-
Dan Abramov authored
-
- 24 Feb, 2017 2 commits
-
-
Ade Viankakrisna Fadlil authored
* Enable eslint caching in development POC for https://github.com/facebookincubator/create-react-app/issues/740. Haven't found any problem, build times improved about 1s on my project and machine. * Bump eslint-loader to 1.6.3 * move @remove-on-eject block to persist cache config on eject
-
Valerii Sorokobatko authored
* add npm-link support * - remove extra veriable - simplify condition * update code after review: - remove utils/isReactScriptsLinked - add appPath and ownPath to paths.js (but only for "before eject" export case) * update code after review: - remove utils/isReactScriptsLinked - add appPath and ownPath to paths.js (but only for "before eject" export case) * update code after review: - remove utils/isReactScriptsLinked - add appPath and ownPath to paths.js (but only for "before eject" export case) - remove "if" block for fs.removeSync(ownPath) at ejec.tjs * change ownPath value
-
- 15 Feb, 2017 1 commit
-
-
Joe Haddad authored
* Disable require.ensure * Replace require.ensure with import * Add babel plugin for parsing import() * Get the default * Upgrade babel-eslint to support dynamic import * Fix dep * Update deps
-
- 11 Feb, 2017 1 commit
-
-
Joe Haddad authored
* Upgrade webpack * Address more webpack v2 ... * Update html-webpack-plugin * Remove LoaderOptionsPlugin from dev config * ExtractTextPlugin still uses webpack 1 syntax ... and doesn't support complex options (yet) * Grammar nit * Update extract text webpack plugin * - Remove webpack.LoaderOptionsPlugin - Update deps * Lerna hoists packages * Update extract-text-webpack-plugin * Update webpack-dev-server * Remove imports for the tests * stop removing babelrc
-
- 10 Feb, 2017 3 commits
-
-
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
-
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.
-
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
-
- 08 Feb, 2017 1 commit
-
-
Ro Savage authored
-
- 11 Dec, 2016 1 commit
-
-
Joe Haddad authored
-
- 07 Dec, 2016 3 commits
-
-
Dan Abramov authored
* Let Jest handle all file types * Update regexes * Fix exclusion regex to also exclude files without extension * Be over-cautious with Windows paths because I'm not sure how Jest handles them * There is no automatic babel-jest discovery now that we use transsform
-
Dan Abramov authored
-
Vincenzo Chianese authored
-
- 06 Dec, 2016 3 commits
-
-
Bogdan Soare authored
-
Vincenzo Chianese authored
* Add Subresource Integrity support * Pin dependency
-
- 21 Nov, 2016 2 commits
- 20 Nov, 2016 5 commits
-
-
Stefan authored
Loads all files not already handled by other loaders. Also, switch image loading from file loader to url-loader.
-
Fabrizio Castellarin authored
-
ekaradon authored
Enable sourcemaps in development
-
Nazim Hajidin authored
-
Nazim Hajidin authored
* Update css-loader to 0.26.0 * Update the production webpack config
-
- 17 Nov, 2016 1 commit
-
-
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.
-
- 29 Oct, 2016 1 commit
-
-
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.
-
- 19 Oct, 2016 1 commit
-
-
Nathan Hunzaker authored
-
- 11 Oct, 2016 1 commit
-
-
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
-
- 07 Oct, 2016 1 commit
-
-
James Danger Hycner authored
-
- 06 Oct, 2016 1 commit
-
-
Shmavon Gazanchyan authored
-
- 01 Oct, 2016 1 commit
-
-
Brian Ng authored
-
- 30 Sep, 2016 2 commits
-
-
Thien Do authored
* Define process.env as object * Fix define process.env * fix NODE_ENV check * Fix style nitpick
-
Sebastian De Deyne authored
* Typo fix in webpack.config.dev.js comments * Typo fix in webpack.config.prod.js comments
-
- 25 Sep, 2016 1 commit
-
-
Dan Abramov authored
* Add syntax error overlay in development * Support HMR being disabled * Tweak CSS
-
- 23 Sep, 2016 3 commits
-
-
Dan Abramov authored
* Extract some utilities into a separate package * Add utils dir to `files` in package.json * Do not create an empty `utils` dir on eject
-
Dan Abramov authored
-
Dan Abramov authored
-
- 22 Sep, 2016 1 commit
-
-
Dan Abramov authored
Fixes #410, #674
-