This is the basic configuration
// baseJsconfig.json
{
paths: {
"@coms/*": ["../../components/*"]
}
}
This is the project configuration
// jsconfig.json
{
"extends": "./baseJsconfig.json",
paths: {
"@/*": ["src/*"]
}
}
The actual output is as follows
// jsconfig.json
{
paths: {
"@/*": ["src/*"]
}
}
But my expected result is like the following, how should it be written?
// jsconfig.json
{
paths: {
"@/*": ["src/*"],
"@coms/*": ["../../components/*"]
}
}
New contributor
zhangpan.china is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.