* Support node scripts in BROWSER
Modify OpenBrowser.js to run node scripts specified with the BROWSER environment
variable . If the value of the BROWSER environment variable ends with '.js' a
child process is spawned to execute the script with node.js. Any
arguments passed to npm start are also passed to this script, as well as
the url where the app is served.
The command executed in the child process is:
node <pathToScript> [OPTIONS] <url>
Update User Guide.
* Tweak code style
* Pin dep
* Comment out 0.10 docs
* support different env configs.
* fomrat code
* Hide doc
* Slightly rework the PR
* Remove .env in default template
* Use just one entry in the paths
* Unify env.js and loadEnv.js
* Oops, forgot these folks
* update readme with fix from https://github.com/facebookincubator/create-react-app/issues/1939
* update with better globbing
* added note
* updating with a note and reverting previous changes
* how about this?
* refactor
* added note about new files back in after verifying locally
* spaces back in, sorry was my editor!
* removed note about new files :)
* added bullet about new files issue currently open on node-sass
* resolvesfacebookincubator/create-react-app#1986 updates CSS Preprocessor docs to include information on node-sass-chokidar alternative to node-sass
* Update README.md
* Node.js serving with absolute path
It’s safer to use the absolute path of the directory that you want to serve, in case you run the express app from another directory.
* Update README.md
* Suggest `serve` for serving the `build` directory
* How to handle it with Node in prod (or other platforms)
* Pretty newline added
* Adjusted default port of static server
* Remove `open` command from output
* Removed constant assignment
* Better explanation for not using having to use a static server
* Cute newline added
* Style nits
* mv create-react-app/index.js -> create-react-app/creteReactApp.js
* update to modern code style
* var -> cosnt
* set trailing-coma to es5 for prettier
* Whitelist files that can be embedded through url-loader
Change the current catch-all loader to use file-loader instead of
url-loader, and exclude common image file extensons. Add another url-loader
for images, configured identically to the original catch-all loader.
Part of issue #1293.
* Update tests to reflect change in loader config
* Integration test fix
* More CI fixes
* Work around broken loader-utils behaviour in integration tests
* Revise the documentation around file loading
* Documentation tweaks
* Docs tweak
* Update test now that webpack/loader-utils has been updated
* Update react-scripts to depend on babel-loader@7.0.0-alpha.2
* Bump deps
* Update now.sh deployment instructions.
Incorporates changes announced at https://zeit.co/blog/now-static that streamline Now deployments from CRA projects.
* Remove unintentional reference to deployed app.
No emergency; just didn't intend to tout or send traffic to my prototype.
* adding a note on how to resolve "Could not find a required file." deployment errors because of deleted or ignored files
* Tweak
* Unrelated style nits
* Added a how-to on react-snapshot
Added a section with a short description and link to a tutorial on generating static html pages with react-snapshot, and also linked to it from the section on managing the page title.
* Updated link title for react-snapshot overview
* Explained pre-rendering in a more generic way
* Added link to top level README.md, and removed specifics from overview
* Updated html -> HTML
* Updated quotes and apostrophes
* html -> HTML
* Fix link
* Add note for using CHOKIDAR_USEPOLLING in virtual machines to enable HMR
* Use br in react-scripts template README md
* Use br in md for new line breaks
* Update troubleshooting HMR to allow for VMs running Windows
* Fix up the instructions
* update CSS preprocessor instructions
- Windows shell users should note that running two programs simultaneously is not supported.
* fix the order of SASS build step
- the suggested build step with integrated CSS preprocessing is wrong. The SASS preprocessor should run first, then the react-scripts build will pick the up-to-date final CSS
* Add tweaks from PR discussion
* Add SASS support documentation #1007
* Change SASS section title to more generic label
* Fix link in Table of Contents
* Chain build-css with watch-css script, fix typos
* Update Sass and Less naming style
* Fix wording, remove offensive words
* Slightly rewite