1 Star 0 Fork 0

sweeter/file-view

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vue.config.js 435 Bytes
一键复制 编辑 原始数据 按行查看 历史
kaiverSmart 提交于 2022-03-05 20:48 +08:00 . 文件预览
const IS_PROD = [ 'production', 'prod' ].includes(process.env.NODE_ENV);
module.exports = {
publicPath: './',
indexPath: 'index.html',
outputDir: process.env.outputDir || 'dist',
assetsDir: 'static',
lintOnSave: false,
runtimeCompiler: true,
productionSourceMap: !IS_PROD,
parallel: require('os').cpus().length > 1,
pwa: {},
configureWebpack: {
plugins: []
},
devServer: {
port: 8900, // 端口
},
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sweeter-open/file-view.git
git@gitee.com:sweeter-open/file-view.git
sweeter-open
file-view
file-view
master

搜索帮助