Skip to content

Commit 08d77e6

Browse files
authored
Fix build issue on Node.js 25 (#6295)
1 parent 5207ba6 commit 08d77e6

File tree

4 files changed

+51
-1400
lines changed

4 files changed

+51
-1400
lines changed

.github/workflows/auto-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,12 @@ jobs:
2222
strategy:
2323
matrix:
2424
os: [macos-latest, ubuntu-22.04, windows-latest, ARM64]
25-
node: [ 20, 24 ]
2625
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
26+
node: [ 20, 24 ]
27+
# Also test non-LTS, but only on Ubuntu.
28+
include:
29+
- os: ubuntu-22.04
30+
node: 25
2731

2832
steps:
2933
- run: git config --global core.autocrlf false # Mainly for Windows

config/vite.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import vue from "@vitejs/plugin-vue";
22
import { defineConfig } from "vite";
33
import visualizer from "rollup-plugin-visualizer";
44
import viteCompression from "vite-plugin-compression";
5-
import VueDevTools from "vite-plugin-vue-devtools";
65

76
const postCssScss = require("postcss-scss");
87
const postcssRTLCSS = require("postcss-rtlcss");
@@ -31,7 +30,6 @@ export default defineConfig({
3130
algorithm: "brotliCompress",
3231
filter: viteCompressionFilter,
3332
}),
34-
VueDevTools(),
3533
],
3634
css: {
3735
postcss: {

0 commit comments

Comments
 (0)