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
Léo-Paul Géneau
gitlab-ce
Commits
55040241
Commit
55040241
authored
Apr 04, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use a less memory-intensive sourcemap when running in CI
parent
4dd841c9
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 @
55040241
...
@@ -52,7 +52,7 @@ var config = {
...
@@ -52,7 +52,7 @@ var config = {
filename
:
IS_PRODUCTION
?
'
[name].[chunkhash].bundle.js
'
:
'
[name].bundle.js
'
filename
:
IS_PRODUCTION
?
'
[name].[chunkhash].bundle.js
'
:
'
[name].bundle.js
'
},
},
devtool
:
'
inlin
e-source-map
'
,
devtool
:
'
cheap-modul
e-source-map
'
,
module
:
{
module
:
{
rules
:
[
rules
:
[
...
@@ -163,6 +163,7 @@ if (IS_PRODUCTION) {
...
@@ -163,6 +163,7 @@ if (IS_PRODUCTION) {
}
}
if
(
IS_DEV_SERVER
)
{
if
(
IS_DEV_SERVER
)
{
config
.
devtool
=
'
cheap-module-eval-source-map
'
;
config
.
devServer
=
{
config
.
devServer
=
{
port
:
DEV_SERVER_PORT
,
port
:
DEV_SERVER_PORT
,
headers
:
{
'
Access-Control-Allow-Origin
'
:
'
*
'
},
headers
:
{
'
Access-Control-Allow-Origin
'
:
'
*
'
},
...
...
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