FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
javascript-client/webpack.dev.js at dev_mode · splitio/javascript-client · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
splitio
/
javascript-client
Public
Notifications
You must be signed in to change notification settings
Fork
38
Star
49
Code
Issues
2
Pull requests
5
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
javascript-client
/
webpack.dev.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (10 loc) · 332 Bytes
Breadcrumbs
javascript-client
/
webpack.dev.js
Copy path
File metadata and controls
12 lines (10 loc) · 332 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
const
{
merge
}
=
require
(
'webpack-merge'
)
;
const
common
=
require
(
'./webpack.common.js'
)
;
const
pkg
=
require
(
'./package.json'
)
;
const
VERSION
=
pkg
.
version
;
module
.
exports
=
env
=>
merge
(
common
,
{
mode
:
'development'
,
output
:
{
filename
:
`[name]
${
env
.
branch
!==
'master'
?
`-dev-
${
VERSION
}
`
:
`-
${
VERSION
}
`
}
.js`
}
}
)
;
Back
|
FazBrowse Home
|
New Git URL