Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
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
new-sing
admin-base
Commits
37d398a3
Commit
37d398a3
authored
Aug 27, 2018
by
wangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面编写
parent
2c00e7fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
webpack.prod.conf.js
build/webpack.prod.conf.js
+2
-1
No files found.
build/webpack.prod.conf.js
View file @
37d398a3
...
@@ -64,7 +64,8 @@ const webpackConfig = merge(baseWebpackConfig, {
...
@@ -64,7 +64,8 @@ const webpackConfig = merge(baseWebpackConfig, {
// see https://github.com/ampedandwired/html-webpack-plugin
// see https://github.com/ampedandwired/html-webpack-plugin
new
HtmlWebpackPlugin
({
new
HtmlWebpackPlugin
({
filename
:
config
.
build
.
index
,
filename
:
config
.
build
.
index
,
template
:
process
.
env
.
NODE_ENV
===
'testing'
?
'index.html'
:
'index_prod.html'
,
template
:
'index.html'
,
// process.env.NODE_ENV === 'testing' ? 'index.html' : 'index_prod.html',
inject
:
true
,
inject
:
true
,
minify
:
{
minify
:
{
removeComments
:
true
,
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