Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
c0fb4733
Commit
c0fb4733
authored
Feb 10, 2017
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
only print errors and warnings from webpack dev server
parent
a2aa5b7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
config/webpack.config.js
config/webpack.config.js
+2
-1
No files found.
config/webpack.config.js
View file @
c0fb4733
...
@@ -117,7 +117,8 @@ if (IS_PRODUCTION) {
...
@@ -117,7 +117,8 @@ if (IS_PRODUCTION) {
if
(
IS_DEV_SERVER
)
{
if
(
IS_DEV_SERVER
)
{
config
.
devServer
=
{
config
.
devServer
=
{
port
:
DEV_SERVER_PORT
,
port
:
DEV_SERVER_PORT
,
headers
:
{
'
Access-Control-Allow-Origin
'
:
'
*
'
}
headers
:
{
'
Access-Control-Allow-Origin
'
:
'
*
'
},
stats
:
'
errors-only
'
,
};
};
config
.
output
.
publicPath
=
'
//localhost:
'
+
DEV_SERVER_PORT
+
config
.
output
.
publicPath
;
config
.
output
.
publicPath
=
'
//localhost:
'
+
DEV_SERVER_PORT
+
config
.
output
.
publicPath
;
}
}
...
...
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