up
This commit is contained in:
13
config-overrides.js
Normal file
13
config-overrides.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/* config-overrides.js */
|
||||
/* copied from https://github.com/facebook/create-react-app/issues/5118 */
|
||||
|
||||
const path = require('path');
|
||||
|
||||
module.exports = function override(config, env) {
|
||||
config.resolve = {
|
||||
...config.resolve,
|
||||
alias: { '@': path.resolve(__dirname, 'src') },
|
||||
};
|
||||
|
||||
return config;
|
||||
}
|
||||
Reference in New Issue
Block a user