Running npm run build fails immediately if there is a file named macro.ts (seem to work with .js) within the project.
The issue seem to be coming from tsdx's babel-plugin-macros dependency.
Using tsdx for the first time and learning about babel-plugin-macros for the first time, I'm not sure how to resolve this issue. Also not sure if I should be creating this issue here or on babel-plugin-macros's repo. Any guidance would be much appreciated.
Expected behavior
npm run build should be smooth sailing on a fresh install.
Suggested solution(s)
Not sure how much tsdx relies on babel-plugin-macros, if it's a misconfiguration or if it's straight up a babel-plugin-macros bug. So hard to say.
Current Behavior
Running
npm run build
fails immediately if there is a file namedmacro.ts
(seem to work with.js
) within the project. The issue seem to be coming from tsdx's babel-plugin-macros dependency. Using tsdx for the first time and learning about babel-plugin-macros for the first time, I'm not sure how to resolve this issue. Also not sure if I should be creating this issue here or on babel-plugin-macros's repo. Any guidance would be much appreciated.Expected behavior
npm run build
should be smooth sailing on a fresh install.Suggested solution(s)
Not sure how much tsdx relies on babel-plugin-macros, if it's a misconfiguration or if it's straight up a babel-plugin-macros bug. So hard to say.
Additional context
-
Your environment