79469570

Date: 2025-02-26 11:42:07
Score: 1
Natty:
Report link

Probably you can solve this using this npm package

https://www.npmjs.com/package/vite-tsconfig-paths

one other solution might work is to use regular expression in your path to capture all subpaths

alias: [
{
    find: /^@features\/(.*)$/,
    replacement: path.resolve(__dirname, 'src/features/$1'),
} ]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mootez Zemmel