24 lines
346 B
JavaScript
24 lines
346 B
JavaScript
|
module.exports = {
|
||
|
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'
|
||
|
},
|
||
|
},
|
||
|
}
|