BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
69e49a09
Unverified
Commit
69e49a09
authored
Apr 15, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only rewire in dev
parent
2f35ba98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
webpack.config.js
config/webpack.config.js
+3
-2
No files found.
config/webpack.config.js
View file @
69e49a09
...
...
@@ -15,6 +15,7 @@ var DEV_SERVER_HOST = process.env.DEV_SERVER_HOST || 'localhost';
var
DEV_SERVER_PORT
=
parseInt
(
process
.
env
.
DEV_SERVER_PORT
,
10
)
||
3808
;
var
DEV_SERVER_LIVERELOAD
=
process
.
env
.
DEV_SERVER_LIVERELOAD
!==
'false'
;
var
WEBPACK_REPORT
=
process
.
env
.
WEBPACK_REPORT
;
var
rewirePlugin
=
IS_PRODUCTION
?
'?plugins=rewire'
:
''
;
var
config
=
{
context
:
path
.
join
(
ROOT_PATH
,
'app/assets/javascripts'
),
...
...
@@ -52,7 +53,7 @@ var config = {
vue_pipelines
:
'./vue_pipelines_index/index.js'
,
raven
:
'./raven/index.js'
,
issue_show
:
'./issue_show/index.js'
,
group
:
'./group.js'
group
:
'./group.js'
,
},
output
:
{
...
...
@@ -68,7 +69,7 @@ var config = {
{
test
:
/
\.
js$/
,
exclude
:
/
(
node_modules|vendor
\/
assets
)
/
,
loader
:
'babel-loader?plugins=rewire'
,
loader
:
`babel-loader
${
rewirePlugin
}
`
,
},
{
test
:
/
\.
vue$/
,
...
...
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