Rollup -Emotion

npm install @emotion/babel-preset-css-prop @emotion/babel-plugin @babel/core babel-loader

# .babelrc
{
  "presets": ["@babel/preset-react", "@emotion/babel-preset-css-prop"]]
}

# tsconfig.json
{
  "compilerOptions": {
   ...
   "target": "es6",
   "jsx": "preserve",
  }
}
Injury