4 ms·
You can set a custom alias, for example nuxt uses ~ for project root. I've seen projects use @ also.
by Can_Not 9y ago
You can set a custom alias, for example nuxt uses ~ for project root. I've seen projects use @ also.
- panopticon 9y agoThat's not part of the ES module spec. That's something transpilers (like Babel + a plugin) support.
- underwater 9y agoCan you also teach systems with their own resolution about the aliases (Jest, Flow, etc.)