fix: complete HoloLake Agent and Forgejo desktop runtime
This commit is contained in:
parent
28f68fa9ac
commit
46bdd0ca73
15 changed files with 1217 additions and 638 deletions
|
|
@ -3,11 +3,17 @@ import react from '@vitejs/plugin-react';
|
|||
import path from 'path';
|
||||
|
||||
export default defineConfig({
|
||||
base: './',
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
// 复用知识库前端组件
|
||||
'@': path.resolve(__dirname, '../guanghu-knowledge-base/src'),
|
||||
'react/jsx-runtime': path.resolve(__dirname, 'node_modules/react/jsx-runtime.js'),
|
||||
'react-dom/client': path.resolve(__dirname, 'node_modules/react-dom/client.js'),
|
||||
'react-dom': path.resolve(__dirname, 'node_modules/react-dom/index.js'),
|
||||
'react': path.resolve(__dirname, 'node_modules/react/index.js'),
|
||||
'marked': path.resolve(__dirname, 'node_modules/marked/lib/marked.esm.js'),
|
||||
},
|
||||
},
|
||||
root: path.resolve(__dirname, '../guanghu-knowledge-base'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue