Skip to content

Instantly share code, notes, and snippets.

@JHSeo-git
Created March 8, 2021 12:18
Show Gist options
  • Save JHSeo-git/71fc69749d1e0ac74c5618b9c2d6f870 to your computer and use it in GitHub Desktop.
Save JHSeo-git/71fc69749d1e0ac74c5618b9c2d6f870 to your computer and use it in GitHub Desktop.
cra craco alias setting with typescript
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