2023-06-04 06:30:05 +00:00
|
|
|
module.exports = {
|
2024-03-31 09:47:55 +00:00
|
|
|
devServer: {
|
|
|
|
proxy: {
|
|
|
|
"^/api*": {
|
|
|
|
target: "https://api.syui.ai",
|
|
|
|
pathRewrite: { "^/api": "" },
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-06-04 06:47:05 +00:00
|
|
|
publicPath: "/",
|
|
|
|
configureWebpack: {
|
|
|
|
output: {
|
|
|
|
filename: '[name].js',
|
|
|
|
chunkFilename: '[name].js'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
css: {
|
|
|
|
extract: {
|
|
|
|
filename: '[name].css',
|
|
|
|
chunkFilename: '[name].css'
|
|
|
|
},
|
|
|
|
},
|
2023-06-04 06:30:05 +00:00
|
|
|
}
|