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"
|
"not dead"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"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",
|
"@emoji-mart/data": "^1.1.2",
|
||||||
"@floating-ui/react": "^0.24.0",
|
"@floating-ui/react": "^0.24.0",
|
||||||
"@fontsource/inter": "^4.5.1",
|
"@fontsource/inter": "^4.5.1",
|
||||||
|
|
|
@ -26,9 +26,9 @@ export default defineConfig({
|
||||||
react({
|
react({
|
||||||
// Use React plugin in all *.jsx and *.tsx files
|
// Use React plugin in all *.jsx and *.tsx files
|
||||||
include: '**/*.{jsx,tsx}',
|
include: '**/*.{jsx,tsx}',
|
||||||
// babel: {
|
babel: {
|
||||||
// configFile: './babel.config.cjs',
|
configFile: './babel.config.cjs',
|
||||||
// },
|
},
|
||||||
}),
|
}),
|
||||||
compileTime(),
|
compileTime(),
|
||||||
viteStaticCopy({
|
viteStaticCopy({
|
||||||
|
|
Loading…
Reference in a new issue