chore: update CI workflow to use latest Bun version and adjust build environment variables
This commit is contained in:
BIN
web/bun.lockb
BIN
web/bun.lockb
Binary file not shown.
@@ -43,10 +43,6 @@
|
||||
"unist-util-visit": "^5.0.0",
|
||||
"use-debounce": "^10.0.4"
|
||||
},
|
||||
"trustedDependencies": [
|
||||
"esbuild",
|
||||
"@parcel/watcher"
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
@@ -73,7 +69,7 @@
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@douyinfe/semi-webpack-plugin": "^2.78.0",
|
||||
"@douyinfe/vite-plugin-semi": "^2.74.0-alpha.6",
|
||||
"@so1ve/prettier-config": "^3.1.0",
|
||||
"@vitejs/plugin-react": "^4.2.1",
|
||||
"autoprefixer": "^10.4.21",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useCallback } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { SSE } from 'sse';
|
||||
import { SSE } from 'sse.js';
|
||||
import {
|
||||
API_ENDPOINTS,
|
||||
MESSAGE_STATUS,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { defineConfig, transformWithEsbuild } from 'vite';
|
||||
import semiWebpackPlugin from '@douyinfe/semi-webpack-plugin';
|
||||
import { vitePluginSemi } from '@douyinfe/vite-plugin-semi';
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
@@ -21,16 +21,9 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
react(),
|
||||
{
|
||||
name: 'semi-plugin',
|
||||
apply: 'build',
|
||||
configResolved() {
|
||||
// Apply SemiWebpackPlugin during build
|
||||
new semiWebpackPlugin({
|
||||
cssLayer: true
|
||||
});
|
||||
}
|
||||
}
|
||||
vitePluginSemi({
|
||||
cssLayer: true
|
||||
})
|
||||
],
|
||||
optimizeDeps: {
|
||||
force: true,
|
||||
|
||||
Reference in New Issue
Block a user