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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
fce6a6a1
Commit
fce6a6a1
authored
Feb 26, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move node config to bottom
parent
6ddd2f4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
config/webpack.config.js
config/webpack.config.js
+7
-6
No files found.
config/webpack.config.js
View file @
fce6a6a1
...
...
@@ -107,10 +107,6 @@ function generateEntries() {
}
var
config
=
{
// because sqljs requires fs.
node
:
{
fs
:
"
empty
"
},
context
:
path
.
join
(
ROOT_PATH
,
'
app/assets/javascripts
'
),
entry
:
generateEntries
,
...
...
@@ -339,8 +335,13 @@ var config = {
'
ee_icons
'
:
path
.
join
(
ROOT_PATH
,
'
ee/app/views/shared/icons
'
),
'
ee_images
'
:
path
.
join
(
ROOT_PATH
,
'
ee/app/assets/images
'
),
}
}
}
},
// sqljs requires fs
node
:
{
fs
:
'
empty
'
,
},
};
if
(
IS_PRODUCTION
)
{
config
.
devtool
=
'
source-map
'
;
...
...
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