soso-tip
soso-tip copied to clipboard
emtion to stitches babel config
module.exports = {
presets: [
[
'next/babel',
{
'preset-react': {
runtime: 'automatic',
- importSource: '@emotion/react',
},
},
],
],
- plugins: ['@emotion/babel-plugin', 'babel-plugin-macros'],
}
๋ ์ค์ ์ด ์์ผ๋ฉด stitches์ css prop์ด ์ ๋๋ก ์๋ํ์ง ์๋๋ค.