-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathihouqi.config.ts
More file actions
27 lines (25 loc) · 838 Bytes
/
ihouqi.config.ts
File metadata and controls
27 lines (25 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
module.exports = (config) => {
config.resolve = {
alias: {
'@public': "/public",
'@app': "/src/app",
'@assets': "/src/assets",
'@model': "/src/model",
'@common': "/src/common",
'@constants': "/src/common/constants",
'@utils': "/src/common/utils",
'@hooks': "/src/common/hooks",
'@components': "/src/common/components",
'@materia': "/src/common/materia",
'@pages': "/src/pages",
//see: https://github.com/kevinold/repro-vite-amplify/commit/4d6b42291dbbcc9cee08f0ec52b416efd5ed7145
// './runtimeConfig': './runtimeConfig.browser',
//see https://github.com/socketio/socket.io-client/issues/1549
"xmlhttprequest-ssl": "./node_modules/engine.io-client/lib/xmlhttprequest.js"
}
}
config.server = {
port: 31813
}
return config;
};