.github/workflows
integration.yml +1 -1
docusaurus/docs
advanced-configuration.md +1 -1
getting-started.md +1 -1
packages
babel-preset-react-app
create.js +12 -0
package.json +15 -14
cra-template
package.json +1 -1
cra-template-typescript
package.json +1 -1
create-react-app
__tests__
getTemplateInstallPackage.test.js +9 -9
createReactApp.js +3 -3
index.js +2 -2
package.json +1 -1
yarn.lock.cached +2608 -4722
eslint-config-react-app
README.md +1 -1
base.js +3 -0
jest.js +3 -0
package.json +8 -14
react-app-polyfill
package.json +1 -1
react-dev-utils
ForkTsCheckerWarningWebpackPlugin.js +25 -0
ModuleNotFoundPlugin.js +1 -8
ModuleScopePlugin.js +6 -0
README.md +2 -29
WatchMissingNodeModulesPlugin.js +0 -33
WebpackDevServerUtils.js +7 -64
evalSourceMapMiddleware.js +3 -1
package.json +3 -3
typescriptFormatter.js +0 -45
webpackHotDevClient.js +2 -2
react-error-overlay
package.json +7 -16
webpack.config.js +4 -4
react-scripts
config
webpack/persistentCache
createEnvironmentHash.js +9 -0
paths.js +6 -0
pnpTs.js +0 -43
webpack.config.js +133 -177
webpackDevServer.config.js +53 -64
fixtures/kitchensink
template
integration
webpack.test.js +5 -4
src/features/webpack
JsonInclusion.js +3 -1
template.json +1 -1
scripts
utils
verifyPackageTree.js +0 -2
verifyTypeScriptSetup.js +1 -1
eject.js +2 -2
start.js +0 -9
package.json +30 -44
test/fixtures
boostrap-sass
package.json +1 -1
global-scss-asset-resolution
package.json +1 -1
README.md +1 -1
azure-pipelines-test-job.yml +2 -2
azure-pipelines.yml +19 -19
package-lock.json +0 -71523
package.json +1 -1
@@ -14,7 +14,7 @@ jobs:
@@ -14,7 +14,7 @@ jobs:
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
@@ -15,7 +15,7 @@ You can adjust various development and production settings by setting environmen
@@ -15,7 +15,7 @@ You can adjust various development and production settings by setting environmen
| PORT | ✅ Used | 🚫 Ignored | By default, the development web server will attempt to listen on port 3000 or prompt you to attempt the next available port. You may use this variable to specify a different port. |
| HTTPS | ✅ Used | 🚫 Ignored | When set to `true`, Create React App will run the development server in `https` mode. |
| WDS_SOCKET_HOST | ✅ Used | 🚫 Ignored | When set, Create React App will run the development server with a custom websocket hostname for hot module reloading. Normally, `webpack-dev-server` defaults to `window.location.hostname` for the SockJS hostname. You may use this variable to start local development on more than one Create React App project at a time. See [webpack-dev-server documentation](https://webpack.js.org/configuration/dev-server/#devserversockhost) for more details. |
| WDS_SOCKET_HOST | ✅ Used | 🚫 Ignored | When set, Create React App will run the development server with a custom websocket hostname for hot module reloading. Normally, `webpack-dev-server` defaults to `window.location.hostname` for the SockJS hostname. You may use this variable to start local development on more than one Create React App project at a time. See [webpack-dev-server documentation](https://webpack.js.org/configuration/dev-server/#devserversockhost) for more details. |
| WDS_SOCKET_PATH | ✅ Used | 🚫 Ignored | When set, Create React App will run the development server with a custom websocket path for hot module reloading. Normally, `webpack-dev-server` defaults to `/sockjs-node` for the SockJS pathname. You may use this variable to start local development on more than one Create React App project at a time. See [webpack-dev-server documentation](https://webpack.js.org/configuration/dev-server/#devserversockpath) for more details. |
| WDS_SOCKET_PATH | ✅ Used | 🚫 Ignored | When set, Create React App will run the development server with a custom websocket path for hot module reloading. Normally, `webpack-dev-server` defaults to `/ws` for the SockJS pathname. You may use this variable to start local development on more than one Create React App project at a time. See [webpack-dev-server documentation](https://webpack.js.org/configuration/dev-server/#devserversockpath) for more details. |
| WDS_SOCKET_PORT | ✅ Used | 🚫 Ignored | When set, Create React App will run the development server with a custom websocket port for hot module reloading. Normally, `webpack-dev-server` defaults to `window.location.port` for the SockJS port. You may use this variable to start local development on more than one Create React App project at a time. See [webpack-dev-server documentation](https://webpack.js.org/configuration/dev-server/#devserversockport) for more details. |
| WDS_SOCKET_PORT | ✅ Used | 🚫 Ignored | When set, Create React App will run the development server with a custom websocket port for hot module reloading. Normally, `webpack-dev-server` defaults to `window.location.port` for the SockJS port. You may use this variable to start local development on more than one Create React App project at a time. See [webpack-dev-server documentation](https://webpack.js.org/configuration/dev-server/#devserversockport) for more details. |
| PUBLIC_URL | ✅ Used | ✅ Used | Create React App assumes your application is hosted at the serving web server's root or a subpath as specified in [`package.json` (`homepage`)](deployment#building-for-relative-paths). Normally, Create React App ignores the hostname. You may use this variable to force assets to be referenced verbatim to the url you provide (hostname included). This may be particularly useful when using a CDN to host your application. |
| PUBLIC_URL | ✅ Used | ✅ Used | Create React App assumes your application is hosted at the serving web server's root or a subpath as specified in [`package.json` (`homepage`)](deployment#building-for-relative-paths). Normally, Create React App ignores the hostname. You may use this variable to force assets to be referenced verbatim to the url you provide (hostname included). This may be particularly useful when using a CDN to host your application. |
| BUILD_PATH | 🚫 Ignored | ✅ Used | By default, Create React App will output compiled assets to a `/build` directory adjacent to your `/src`. You may use this variable to specify a new path for Create React App to output assets. BUILD_PATH should be specified as a path relative to the root of your project. |
| BUILD_PATH | 🚫 Ignored | ✅ Used | By default, Create React App will output compiled assets to a `/build` directory adjacent to your `/src`. You may use this variable to specify a new path for Create React App to output assets. BUILD_PATH should be specified as a path relative to the root of your project. |
@@ -34,7 +34,7 @@ Create a project, and you’re good to go.
@@ -34,7 +34,7 @@ Create a project, and you’re good to go.
**You’ll need to have Node >= 10 on your local development machine** (but it’s not required on the server). You can use [nvm](https://github.com/creationix/nvm#installation) (macOS/Linux) or [nvm-windows](https://github.com/coreybutler/nvm-windows#node-version-manager-nvm-for-windows) to switch Node versions between different projects.
**You’ll need to have Node >= 14 on your local development machine** (but it’s not required on the server). You can use [nvm](https://github.com/creationix/nvm#installation) (macOS/Linux) or [nvm-windows](https://github.com/coreybutler/nvm-windows#node-version-manager-nvm-for-windows) to switch Node versions between different projects.
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
@@ -146,12 +146,24 @@ module.exports = function (api, opts, env) {
@@ -146,12 +146,24 @@ module.exports = function (api, opts, env) {
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
@@ -21,20 +21,21 @@
@@ -21,20 +21,21 @@