ricokahler / babel-plugin-tsconfig-paths-module-resolver

Use tsconfig-paths in any bundler that supports a custom babel config.
MIT License
40 stars 2 forks source link

Thank you for your efforts #7

Closed zq0904 closed 1 year ago

zq0904 commented 2 years ago

At first I tried using babel-plugin-module-resolver but it lacked the necessary documentation I can't implement

  // tsconfig.json
  "baseUrl": "./",
  "paths": {
    "@/*": ["src/*"]
  },

  // 'babel-plugin-module-resolver',
    {
      root: './',
      alias: {
        '@/*': 'src/*',
      },
    },

babel-plugin-module-resolver does not support globby mode?

But I used your library to solve my problem perfectly. Thank you very much for your efforts!