I get the following error when trying to use babel-plugin-jsonify-css. I am trying to import the css for semantic-ui in my Next.js app. Here are the steps to reproduce.
npm install --save semantic-ui-css
Add the following to your page.
import styles, {
rule,
media,
keyframes,
fontFace,
charset,
raw
} from 'semantic-ui-css/semantic.min.css';
I get the following error when trying to use babel-plugin-jsonify-css. I am trying to import the css for semantic-ui in my Next.js app. Here are the steps to reproduce.
Add the following to your page.
And here are the details of the error: