14 lines
318 B
JavaScript
14 lines
318 B
JavaScript
/* 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;
|
|
}
|