You know when you start working on something and then you get new information that changes things - but you forget to go back and fix up your stuff to use the new assumptions? Yeah.
Bug fixes
Template literal css extraction blows up when referencing an unknown import
When the transformer doesn't know what the import is (such as when it's being used in Babel, or when type checking is turned off) it would blow up instead of just... working. Not ideal.
...So now this code will work!
import { gridSize } from '@styles/my-lib';
import { styled } from '@compiled/css-in-js';
export const MySweetDiv = styled.div`
padding: ${gridSize}px;
`;
This is an overarching pull & tug of utilizing TypeScript transformers in different contexts - the "fix" will probably come by others means, hopefully #217, but also maybe #67 #66 too.