Skip to content

Commit

Permalink
fix(console): fix console build issue (#2335)
Browse files Browse the repository at this point in the history
  • Loading branch information
jialeicui authored Jun 9, 2023
1 parent e99ca3f commit 13c5594
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions console/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const alias = {
'react-query': path.resolve(__dirname, './node_modules/react-query'),
'lodash': path.resolve(__dirname, './node_modules/lodash'),
'react-qr-code': path.resolve(__dirname, './node_modules/react-qr-code'),
'react-copy-to-clipboard': path.resolve(__dirname, './node_modules/react-copy-to-clipboard'),
'js-yaml': path.resolve(__dirname, './node_modules/js-yaml'),
'qs': path.resolve(__dirname, './node_modules/qs'),
'axios': path.resolve(__dirname, './node_modules/axios'),
Expand Down Expand Up @@ -86,6 +87,7 @@ export default defineConfig({
build: {
outDir: 'build',
manifest: true,
target: 'esnext',
// minify: false,
// sourcemap: true,
},
Expand Down

0 comments on commit 13c5594

Please sign in to comment.