Document how to alias modules when using linaria
Author: jayuCreated Jun 16, 2020Updated Jun 3, 2025
Labelsenhancement: proposal 💬cat: documentation 📖bundler: webpack 📦cat: modules aliasing 🔗
Describe the enhancement
We should document that we do not support TS paths and Jest module mapper and provide a solution on how to work around the issues using @babel-plugin-module-resolver
Motivation
We decided to not support other solutions for module aliasing than @babel-plugin-module-resolver and webpack aliases
There was a bunch of issues regarding module aliasing
Source: callstack/linaria