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 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",
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: