martinandert / babel-plugin-css-in-js

A plugin for Babel v6 which transforms inline styles defined in JavaScript modules into class names so they become available to, e.g. the `className` prop of React elements. While transforming, the plugin processes all JavaScript style definitions found and bundles them up into a CSS file, ready to be requested from your web server.
MIT License
299 stars 11 forks source link

More helpful error messages #18

Closed steadicat closed 7 years ago

steadicat commented 7 years ago

Many error messages don’t provide any useful information about the source of the error. This fixes a few of the most common ones.

steadicat commented 7 years ago

Tests are broken because of #17.