update vue.config.js

master
RuoYi 2024-01-11 15:47:05 +08:00
parent f6d4f5c6e3
commit 4908b6230b
1 changed files with 1 additions and 6 deletions

View File

@ -123,12 +123,7 @@ module.exports = {
} }
} }
}) })
config.optimization.runtimeChunk('single')
config.optimization.runtimeChunk('single'),
{
from: path.resolve(__dirname, './public/robots.txt'), //防爬虫文件
to: './' //到根目录下
}
}) })
} }
} }