Skip to content

Commit eb7c77f

Browse files
author
FalkWolsky
committed
Updating Vite Build Goals
1 parent 9b1e389 commit eb7c77f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

client/packages/lowcoder-cli/config/vite.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ export default defineConfig({
2727
extensions: [".mjs", ".js", ".ts", ".jsx", ".tsx", ".json"],
2828
},
2929
build: {
30-
target: "es2015",
31-
cssTarget: "chrome63",
30+
target: "es2020",
31+
cssTarget: "chrome87",
3232
outDir: paths.appOutPath,
3333
emptyOutDir: true,
3434
lib: {

client/packages/lowcoder/vite.config.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ export const viteConfig: UserConfig = {
6767
base,
6868
build: {
6969
manifest: true,
70-
target: "es2015",
71-
cssTarget: "chrome63",
70+
target: "es2020",
71+
cssTarget: "chrome87",
7272
outDir: "build",
7373
assetsDir: "static",
7474
emptyOutDir: false,

0 commit comments

Comments
 (0)