no message
This commit is contained in:
parent
07b7eb2471
commit
98d53ad45e
@ -7,27 +7,8 @@ function resolve(dir) {
|
||||
return path.join(__dirname, dir)
|
||||
}
|
||||
module.exports = defineConfig({
|
||||
|
||||
configureWebpack: {
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
// 'process.env.URL_ENV': "https://x-cloud-project.oss-cn-guangzhou.aliyuncs.com/forum"
|
||||
})
|
||||
]
|
||||
},
|
||||
// devServer: {
|
||||
// //请求服务器的地址
|
||||
// proxy: 'https://forum.gter.net'
|
||||
// },
|
||||
|
||||
// devServer: {
|
||||
// publicPath: './'
|
||||
// },
|
||||
|
||||
transpileDependencies: true,
|
||||
// publicPath: './',
|
||||
publicPath: process.env.NODE_ENV === 'production' ? "https://x-cloud-project.oss-cn-guangzhou.aliyuncs.com/forum" : '/',
|
||||
// publicPath: process.env.NODE_ENV === 'production' ? process.env.URL_ENV : '/',
|
||||
// publicPath: "https://x-cloud-project.oss-cn-guangzhou.aliyuncs.com/forum",
|
||||
configureWebpack: {
|
||||
optimization: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user