Skip to content

Commit

Permalink
Merge pull request #1429 from jumpserver/pr@dev@yarn_build
Browse files Browse the repository at this point in the history
perf: Update vite config
  • Loading branch information
ZhaoJiSen authored Aug 22, 2024
2 parents 80927c9 + 9b6856c commit 34c5235
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions ui/src/asset/icons/help.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ui/src/asset/icons/k8s.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ui/src/asset/icons/organize.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ui/src/asset/icons/setting.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ui/src/asset/icons/split.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ui/src/asset/icons/tree.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ui/src/asset/icons/user.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ui/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
vue(),
manualChunksPlugin(),
createSvgIconsPlugin({
iconDirs: [resolve(process.cwd(), 'src/public/icons')],
iconDirs: [resolve(process.cwd(), 'src/asset/icons')],
symbolId: 'icon-[dir]-[name]'
}),
Components({ dts: true, resolvers: [NaiveUiResolver()] })
Expand Down

0 comments on commit 34c5235

Please sign in to comment.