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

View file

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

913
yarn.lock

File diff suppressed because it is too large Load diff