0.1.7 • Published 2 years ago
craco-plugin-ts-paths v0.1.7
A plugin for craco to add paths specified in tsconfig.json file
Instalation
npm install craco-plugin-ts-paths
Usage
An example for usage can be seen here
in your carco config import the following function
const {createTypescriptPathsPlugin} = require('craco-plugin-ts-paths')
and then add the plugin in the plugins section with
plugins: [
...
createTypescriptPathsPlugin(path_to_tsconfig_file),
...
]