mirror of
https://github.com/sakaljurgis/best-choice.git
synced 2026-07-08 21:47:40 +00:00
add shared
This commit is contained in:
@@ -14,6 +14,14 @@ export default defineConfig(({ mode }) => {
|
||||
port: clientPort,
|
||||
proxy: {
|
||||
'/api': proxyTarget
|
||||
},
|
||||
fs: {
|
||||
allow: [path.resolve(__dirname, '..')]
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'@shared': path.resolve(__dirname, '../shared')
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user