Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-3
Commits
4b8cdc2a
Commit
4b8cdc2a
authored
Oct 12, 2021
by
crushh
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/十月迭代' of
http://git.gicdev.com/office/haoban-3
into feature/十月迭代
parents
6d7e8d39
76ac2aec
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
.eslintrc.js
.eslintrc.js
+3
-3
webpack.dev.conf.js
build/webpack.dev.conf.js
+1
-2
webpack.prod.conf.js
build/webpack.prod.conf.js
+1
-0
No files found.
.eslintrc.js
View file @
4b8cdc2a
...
...
@@ -31,9 +31,9 @@ module.exports = {
],
// allow async-await
"generator-star-spacing"
:
"off"
,
"no-console"
:
process
.
env
.
NODE_ENV
===
"production"
?
2
:
0
,
"no-alert"
:
process
.
env
.
NODE_ENV
===
"production"
?
2
:
0
,
//禁止使用alert confirm prompt
"no-debugger"
:
process
.
env
.
NODE_ENV
===
"production"
?
2
:
0
,
//
"no-console": process.env.NODE_ENV === "production" ? 2 : 0,
//
"no-alert": process.env.NODE_ENV === "production" ? 2 : 0, //禁止使用alert confirm prompt
//
"no-debugger": process.env.NODE_ENV === "production" ? 2 : 0,
// --------------------静态检测-----------------------------
/**
* 静态检测:
...
...
build/webpack.dev.conf.js
View file @
4b8cdc2a
...
...
@@ -55,8 +55,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
new
HtmlWebpackPlugin
({
filename
:
'index.html'
,
template
:
'index.html'
,
inject
:
true
,
favicon
:
'./favicon.ico'
inject
:
true
}),
// copy custom static assets
new
CopyWebpackPlugin
([
...
...
build/webpack.prod.conf.js
View file @
4b8cdc2a
...
...
@@ -63,6 +63,7 @@ const webpackConfig = merge(baseWebpackConfig, {
new
HtmlWebpackPlugin
({
filename
:
config
.
build
.
index
,
template
:
'index.html'
,
favicon
:
'./favicon.ico'
,
inject
:
true
,
minify
:
{
removeComments
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment