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
129abb29
Commit
129abb29
authored
Oct 19, 2018
by
Kamil Trzciński
Committed by
Clement Ho
Oct 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to configure cache path for webpack
parent
3e1e9dc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
config/webpack.config.js
config/webpack.config.js
+1
-1
No files found.
config/webpack.config.js
View file @
129abb29
...
...
@@ -8,7 +8,7 @@ const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');
const
BundleAnalyzerPlugin
=
require
(
'
webpack-bundle-analyzer
'
).
BundleAnalyzerPlugin
;
const
ROOT_PATH
=
path
.
resolve
(
__dirname
,
'
..
'
);
const
CACHE_PATH
=
path
.
join
(
ROOT_PATH
,
'
tmp/cache
'
);
const
CACHE_PATH
=
p
rocess
.
env
.
WEBPACK_CACHE_PATH
||
p
ath
.
join
(
ROOT_PATH
,
'
tmp/cache
'
);
const
IS_PRODUCTION
=
process
.
env
.
NODE_ENV
===
'
production
'
;
const
IS_DEV_SERVER
=
process
.
argv
.
join
(
'
'
).
indexOf
(
'
webpack-dev-server
'
)
!==
-
1
;
const
DEV_SERVER_HOST
=
process
.
env
.
DEV_SERVER_HOST
||
'
localhost
'
;
...
...
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