FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
universal-react-demo/webpack/webpack.dev.js at typescript · universal-react/universal-react-demo · GitHub
universal-react
/
universal-react-demo
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Issues
1
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
universal-react-demo
/
webpack
/
webpack.dev.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (18 loc) · 533 Bytes
Breadcrumbs
universal-react-demo
/
webpack
/
webpack.dev.js
Copy path
File metadata and controls
20 lines (18 loc) · 533 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
13
14
15
16
17
18
19
20
const
webpack
=
require
(
'webpack'
)
;
const
merge
=
require
(
'webpack-merge'
)
;
const
commonConfig
=
require
(
'./webpack.common'
)
;
module
.
exports
=
merge
(
{
entry
:
[
'webpack-hot-middleware/client'
]
,
plugins
:
[
new
webpack
.
HotModuleReplacementPlugin
(
)
,
new
webpack
.
NoEmitOnErrorsPlugin
(
)
,
new
webpack
.
NamedModulesPlugin
(
)
,
new
webpack
.
DefinePlugin
(
{
'process.env'
:
{
NODE_ENV
:
JSON
.
stringify
(
'development'
)
}
,
}
)
,
]
,
devtool
:
'eval-source-map'
}
,
commonConfig
)
;
Back
|
FazBrowse Home
|
New Git URL