Import alias from nearliest parent #16360
Unanswered
NguyenHoangMinhkkkk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to config babel to import alias like my idea ?
At child dirs. module-{x}/.../component.tsx,
Inside component.tsx of any module, instead of import "../themes" -> import "@themes"
My regular babel.config.js
is this a right way approach ?
Beta Was this translation helpful? Give feedback.
All reactions