Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
max_android_panel
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhang Xin
max_android_panel
Commits
a2102e18
Commit
a2102e18
authored
Oct 09, 2020
by
ouyanghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update address
parent
103d7495
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
client/index.html
+3
-2
webpack.config.js
+4
-2
No files found.
client/index.html
View file @
a2102e18
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</head>
</head>
<body>
<body>
<div
id=
"root"
></div>
<div
id=
"root"
></div>
<script
src=
"
/
vendor.bundle.js"
></script>
<script
src=
"vendor.bundle.js"
></script>
<script
src=
"
/index
.js"
></script>
<script
src=
"
bundle
.js"
></script>
</body>
</body>
</html>
</html>
\ No newline at end of file
webpack.config.js
View file @
a2102e18
...
@@ -92,7 +92,8 @@ let envConfig = {
...
@@ -92,7 +92,8 @@ let envConfig = {
'build'
:{
'build'
:{
output
:{
output
:{
path
:
path
.
join
(
__dirname
,
'./static'
),
path
:
path
.
join
(
__dirname
,
'./static'
),
filename
:
'bundle-[hash:6].js'
// filename : 'bundle-[hash:6].js'
filename
:
'bundle.js'
},
},
plugins
:[
plugins
:[
new
webpack
.
optimize
.
UglifyJsPlugin
(),
//js压缩
new
webpack
.
optimize
.
UglifyJsPlugin
(),
//js压缩
...
@@ -150,7 +151,8 @@ let envConfig = {
...
@@ -150,7 +151,8 @@ let envConfig = {
'test'
:
{
'test'
:
{
output
:{
output
:{
path
:
path
.
join
(
__dirname
,
'./static'
),
path
:
path
.
join
(
__dirname
,
'./static'
),
filename
:
'bundle-[hash:6].js'
// filename : 'bundle-[hash:6].js'
filename
:
'bundle.js'
},
},
plugins
:[
plugins
:[
new
webpack
.
optimize
.
UglifyJsPlugin
(),
//js压缩
new
webpack
.
optimize
.
UglifyJsPlugin
(),
//js压缩
...
...
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