2023-06-04 06:30:05 +00:00
|
|
|
module.exports = {
|
2023-06-04 06:47:05 +00:00
|
|
|
devServer: {
|
|
|
|
proxy: {
|
|
|
|
"^/api*": {
|
|
|
|
target: "https://api.syui.ai",
|
|
|
|
pathRewrite: { "^/api": "" },
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
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
|
|
|
}
|