Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
xqz
/
dianDemo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5860dfb8
authored
4 years ago
by
sunnie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug IS_PROD
1 parent
0c0fa855
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
vue.config.js
vue.config.js
View file @
5860dfb
...
...
@@ -41,7 +41,7 @@ module.exports = {
// publicPath: '/app/', //署应用包时的基本 URL。 vue-router history模式使用
outputDir
:
'dist'
,
// 生产环境构建文件的目录
assetsDir
:
'static'
,
// outputDir的静态资源(js、css、img、fonts)目录
lintOnSave
:
process
.
env
.
NODE_ENV
!==
IS_PROD
,
lintOnSave
:
!
IS_PROD
,
productionSourceMap
:
false
,
// 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
devServer
:
{
port
:
9020
,
// 端口
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment