@emotion/babel-plugin-core
Babel plugin to optimize Emotion styles and add labels
Install
yarn add --dev @emotion/babel-plugin-core
Usage
Via CLI
babel --plugins @emotion/core script.js
Via Node API
require('@babel/core').transform('code', {
plugins: ['@emotion/core']
})