Created
March 8, 2021 12:18
-
-
Save JHSeo-git/71fc69749d1e0ac74c5618b9c2d6f870 to your computer and use it in GitHub Desktop.
cra craco alias setting with typescript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const CracoAlias = require('craco-alias'); | |
module.exports = { | |
plugins: [ | |
{ | |
plugin: CracoAlias, | |
options: { | |
source: 'tsconfig', | |
baseUrl: '.', | |
tsConfigPath: 'tsconfig.paths.json', | |
debug: false, | |
}, | |
}, | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment