From a83f47aaec4e567c3712f1d8686d623c3fedc31f Mon Sep 17 00:00:00 2001 From: Lucasus Date: Fri, 3 Nov 2017 19:36:41 +0100 Subject: [PATCH 1/2] Added custom aliases --- packages/react-scripts/config/webpack.config.dev.js | 2 ++ packages/react-scripts/config/webpack.config.prod.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/react-scripts/config/webpack.config.dev.js b/packages/react-scripts/config/webpack.config.dev.js index 07c0a3adf..532e8fbe9 100644 --- a/packages/react-scripts/config/webpack.config.dev.js +++ b/packages/react-scripts/config/webpack.config.dev.js @@ -105,6 +105,8 @@ module.exports = { '.jsx', ], alias: { + "src": path.resolve('./src'), + "styles": path.resolve('./src/styles'), // @remove-on-eject-begin // Resolve Babel runtime relative to react-scripts. // It usually still works on npm 3 without this but it would be diff --git a/packages/react-scripts/config/webpack.config.prod.js b/packages/react-scripts/config/webpack.config.prod.js index 9582ee731..6219c2505 100644 --- a/packages/react-scripts/config/webpack.config.prod.js +++ b/packages/react-scripts/config/webpack.config.prod.js @@ -109,6 +109,8 @@ module.exports = { '.jsx', ], alias: { + "src": path.resolve('./src'), + "styles": path.resolve('./src/styles'), // @remove-on-eject-begin // Resolve Babel runtime relative to react-scripts. // It usually still works on npm 3 without this but it would be From 2b3180896bca17a6e39691fe1fa1a433ed408f5e Mon Sep 17 00:00:00 2001 From: Lucasus Date: Fri, 3 Nov 2017 19:37:21 +0100 Subject: [PATCH 2/2] Package name changed --- packages/react-scripts/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 01bb852f5..d527760a0 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -1,5 +1,5 @@ { - "name": "react-scripts-ts", + "name": "react-scripts-ts-inbox", "version": "2.8.0", "description": "Configuration and scripts for Create React App.", "repository": "wmonk/create-react-app", pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy