chore: fix emotion deps (#42188)

This commit is contained in:
二货爱吃白萝卜 2023-05-06 19:00:17 +08:00 committed by GitHub
parent a8c3eb45f0
commit 06482bfbcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ export default defineConfig({
},
extraRehypePlugins: [rehypeAntd],
extraRemarkPlugins: [remarkAntd],
extraBabelPresets: ['@emotion/babel-preset-css-prop'],
extraBabelPresets: [require.resolve('@emotion/babel-preset-css-prop')],
mfsu: false,
metas: [{ name: 'theme-color', content: '#1677ff' }],
analytics: {