mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-07-15 23:13:40 +08:00
20 lines
389 B
JavaScript
20 lines
389 B
JavaScript
![]() |
const path = require('path')
|
||
|
function resolve (dir) {
|
||
|
return path.join(__dirname, '/', dir)
|
||
|
}
|
||
|
|
||
|
module.exports = {
|
||
|
runtimeCompiler:true,
|
||
|
configureWebpack: {
|
||
|
devtool: 'source-map'
|
||
|
},
|
||
|
productionSourceMap: false,
|
||
|
lintOnSave: process.env.NODE_ENV !== 'production',
|
||
|
devServer: {
|
||
|
port: 1803, // 端口
|
||
|
overlay: {
|
||
|
warnings: true,
|
||
|
errors: false
|
||
|
}
|
||
|
}
|
||
|
}
|