Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
7670f61c
Commit
7670f61c
authored
Oct 13, 2015
by
Andrew Sliwinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor clean-up of environment var name in webpack config
parent
35ae981c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
webpack.config.js
webpack.config.js
+3
-2
No files found.
webpack.config.js
View file @
7670f61c
var
path
=
require
(
'
path
'
);
var
webpack
=
require
(
'
webpack
'
);
var
environment
=
require
(
'
./src/environment.js
'
);
var
routes
=
require
(
'
./server/routes.json
'
);
var
buildEnv
=
require
(
'
./src/environment.js
'
);
// Prepare all entry points
var
entry
=
{
...
...
@@ -53,7 +54,7 @@ module.exports = {
},
plugins
:
[
new
webpack
.
DefinePlugin
({
'
process.env
'
:
buildEnv
'
process.env
'
:
environment
}),
new
webpack
.
optimize
.
UglifyJsPlugin
({
compress
:
{
...
...
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