Add back Babel

This commit is contained in:
Alex Gleason 2023-09-13 16:35:41 -05:00
parent ecf34537d8
commit 6e5520ce17
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
3 changed files with 893 additions and 31 deletions

View file

@ -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",

View file

@ -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({

913
yarn.lock

File diff suppressed because it is too large Load diff