mirror of
https://github.com/Athou/commafeed.git
synced 2026-10-15 16:51:38 +00:00
babel is no longer required for lingui
This commit is contained in:
1
commafeed-client/package-lock.json
generated
1
commafeed-client/package-lock.json
generated
@@ -49,7 +49,6 @@
|
||||
"devDependencies": {
|
||||
"@babel/types": "^8.0.6",
|
||||
"@biomejs/biome": "2.5.15",
|
||||
"@lingui/babel-plugin-lingui-macro": "6.9.1",
|
||||
"@lingui/cli": "6.9.1",
|
||||
"@lingui/vite-plugin": "6.9.1",
|
||||
"@testing-library/jest-dom": "7.0.1",
|
||||
|
||||
@@ -56,7 +56,6 @@
|
||||
"devDependencies": {
|
||||
"@babel/types": "^8.0.6",
|
||||
"@biomejs/biome": "2.5.15",
|
||||
"@lingui/babel-plugin-lingui-macro": "6.9.1",
|
||||
"@lingui/cli": "6.9.1",
|
||||
"@lingui/vite-plugin": "6.9.1",
|
||||
"@testing-library/jest-dom": "7.0.1",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { lingui, linguiTransformerBabelPreset } from "@lingui/vite-plugin"
|
||||
import { lingui } from "@lingui/vite-plugin"
|
||||
import babel from "@rolldown/plugin-babel"
|
||||
import react, { reactCompilerPreset } from "@vitejs/plugin-react"
|
||||
import { defineConfig } from "vite"
|
||||
@@ -6,9 +6,9 @@ import checker from "vite-plugin-checker"
|
||||
|
||||
export default defineConfig(() => ({
|
||||
plugins: [
|
||||
babel({ presets: [linguiTransformerBabelPreset(), reactCompilerPreset()] }),
|
||||
react(),
|
||||
lingui(),
|
||||
lingui({ macroTransform: true }),
|
||||
babel({ presets: [reactCompilerPreset()] }),
|
||||
checker({
|
||||
// temporary disabled until TypeScript 7 exposes a stable api
|
||||
// typescript: true,
|
||||
|
||||
Reference in New Issue
Block a user