Add back Babel
This commit is contained in:
parent
ecf34537d8
commit
6e5520ce17
3 changed files with 893 additions and 31 deletions
|
@ -39,6 +39,11 @@
|
|||
"not dead"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-react-inline-elements": "^7.22.5",
|
||||
"@babel/plugin-transform-runtime": "^7.22.15",
|
||||
"@babel/preset-env": "^7.22.15",
|
||||
"@babel/preset-react": "^7.22.15",
|
||||
"@babel/preset-typescript": "^7.22.15",
|
||||
"@emoji-mart/data": "^1.1.2",
|
||||
"@floating-ui/react": "^0.24.0",
|
||||
"@fontsource/inter": "^4.5.1",
|
||||
|
|
|
@ -26,9 +26,9 @@ export default defineConfig({
|
|||
react({
|
||||
// Use React plugin in all *.jsx and *.tsx files
|
||||
include: '**/*.{jsx,tsx}',
|
||||
// babel: {
|
||||
// configFile: './babel.config.cjs',
|
||||
// },
|
||||
babel: {
|
||||
configFile: './babel.config.cjs',
|
||||
},
|
||||
}),
|
||||
compileTime(),
|
||||
viteStaticCopy({
|
||||
|
|
Loading…
Reference in a new issue