Skip to content

v0.2.0

Compare
Choose a tag to compare
@mayank99 mayank99 released this 25 Jan 06:44
· 47 commits to main since this release
  • In dev mode, the classes in the markup will now contain the name of the original variable if available. These classes are unused in the CSS but will make it easier to find the right element in browser dev tools.
     // input
     const Button = () => <button class={button}>hi</button>
     const button = css`
       display: grid;
       place-items: center;
     `;
     // output
     <button class="🎈-button 🎈-rvaw9y">hi</button>
     /* output */
     .🎈-rvaw9y {
       display: grid;
       place-items: center;
     }
  • Improved compatibility with npm packages when evaluating expressions. ESM packages should now work out of the box instead of requiring to be passed to resolvePackages.