Test enabling pure function on styled-components
parent
83fadbeda2
commit
e478223016
|
@ -51,7 +51,9 @@ export default defineConfig(({ command, mode }) => ({
|
|||
preventAssignment: false,
|
||||
}),
|
||||
react({
|
||||
babel: { plugins: ['babel-plugin-styled-components'] },
|
||||
babel: {
|
||||
plugins: [['babel-plugin-styled-components', { pure: true }]],
|
||||
},
|
||||
}),
|
||||
yaml(),
|
||||
shimReactPdf(),
|
||||
|
|
Loading…
Reference in New Issue