chore(deps-dev): bump vite-plugin-babel from 1.6.0 to 1.7.3 (#12561)

* chore(deps-dev): bump vite-plugin-babel from 1.6.0 to 1.7.3

Bumps [vite-plugin-babel](https://github.com/owlsdepartment/vite-plugin-babel) from 1.6.0 to 1.7.3.
- [Commits](https://github.com/owlsdepartment/vite-plugin-babel/commits)

---
updated-dependencies:
- dependency-name: vite-plugin-babel
  dependency-version: 1.7.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: Use include option for vite-plugin-babel TS transform

vite-plugin-babel 1.7.0 added an `include` option defaulting to
`/\.jsx?$/` (JS only) that is applied before `filter`, so .ts/.tsx
files were no longer transformed by Babel and reached the parser
with types intact. Switch to the `include` option to match TS files.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
dependabot[bot]
2026-06-02 22:11:03 -04:00
committed by GitHub
parent b2c66c5190
commit e32b3772b2
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -373,7 +373,7 @@
"terser": "^5.48.0",
"typescript": "^5.9.3",
"unplugin-swc": "^1.5.9",
"vite-plugin-babel": "^1.6.0",
"vite-plugin-babel": "^1.7.3",
"vite-tsconfig-paths": "^6.1.1",
"vitest": "^4.1.5"
},
+1 -1
View File
@@ -13,7 +13,7 @@ const fileMock = path.resolve(__dirname, "./__mocks__/fileMock.js");
const babelPlugin = () =>
babel({
filter: /\.(t|j)sx?$/,
include: /\.(t|j)sx?$/,
babelConfig: {
babelrc: false,
configFile: false,
+5 -5
View File
@@ -16417,7 +16417,7 @@ __metadata:
validator: "npm:13.15.35"
vaul: "npm:^1.1.2"
vite: "npm:rolldown-vite@7.3.1"
vite-plugin-babel: "npm:^1.6.0"
vite-plugin-babel: "npm:^1.7.3"
vite-plugin-pwa: "npm:1.3.0"
vite-tsconfig-paths: "npm:^6.1.1"
vitest: "npm:^4.1.5"
@@ -20959,13 +20959,13 @@ __metadata:
languageName: node
linkType: hard
"vite-plugin-babel@npm:^1.6.0":
version: 1.6.0
resolution: "vite-plugin-babel@npm:1.6.0"
"vite-plugin-babel@npm:^1.7.3":
version: 1.7.3
resolution: "vite-plugin-babel@npm:1.7.3"
peerDependencies:
"@babel/core": ^7.0.0
vite: ^2.7.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0
checksum: 10c0/7484bff317cdb988a65613a1c788cd6b9682df66f5cf5226831898678f2811c4d14a8a14519b15c9896b8e8483e9b4b4d5fb519dab3bb497e0952ebc1911fd99
checksum: 10c0/ff215f066461610c2f512e94e5e7c8c11ba807142d6f4f46e6430d11ff04c18621badb02ca984d2a0dbbcd3bc789454480c7d51fd0214d3f0d20f812e39dd9cd
languageName: node
linkType: hard