Merge branch 'vite-babel' into 'develop'

Add back Babel

See merge request soapbox-pub/soapbox!2672
This commit is contained in:
Alex Gleason 2023-09-13 21:50:01 +00:00
commit a4e78db516
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