Open pedroteixeira opened 6 years ago
If you want use babel with TypeScript, here is an alternative which has full compatible with babel: babel-plugin-import
hi, I use next.js + typescript + antd + babel-plugin-import https://github.com/zeit/next.js/tree/canary/examples/with-typescript but it does't work
same problem. the latest @babel/typescript made things strange. 'legacy' ts-loader and 'normal' babel-loader both ignore this corner
If you are using babel-loader with webpack, please use babel-plugin-import.
Hi, can this be used purely with babel-loader? Since with Babel 7.x the preset "@babel/typescript", ts-loader does not seem to be needed anymore, but "babel-plugin-import" seems to not support babel 7 yet.
thanks! Pedro