]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
fix: make the build output compatible with v4.5 (#2591)
authordrylint <80906525+drylint@users.noreply.github.com>
Wed, 10 Dec 2025 15:18:06 +0000 (23:18 +0800)
committerGitHub <noreply@github.com>
Wed, 10 Dec 2025 15:18:06 +0000 (16:18 +0100)
packages/router/tsdown.config.ts

index 987b77262b3761f4a899fdff16425ee22cef2e97..eef1e839cb9f501c1c97119f09a44ca852539800 100644 (file)
@@ -79,6 +79,7 @@ const esmBrowser = {
 
 const esmBrowserProd = {
   ...esmBrowser,
+  target: 'es2015',
   minify: true,
   outputOptions: {
     ...esmBrowser.outputOptions,
@@ -135,6 +136,7 @@ const iife = {
 
 const iifeProd = {
   ...iife,
+  target: 'es2015',
   minify: true,
   outputOptions: {
     ...iife.outputOptions,