Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fractalis
fractal.js
Commits
268a2e99
Commit
268a2e99
authored
Apr 22, 2017
by
Sascha Herzinger
Browse files
Enabled hot reload for webpack
parent
7a45b974
Changes
1
Hide whitespace changes
Inline
Side-by-side
webpack.config.js
View file @
268a2e99
...
...
@@ -25,6 +25,7 @@ module.exports = {
devServer
:
{
hot
:
true
,
inline
:
true
,
publicPath
:
'
http://localhost:8080/
'
},
plugins
:
plugins
,
output
:
{
...
...
@@ -32,6 +33,9 @@ module.exports = {
library
:
library
,
libraryTarget
:
'
var
'
,
filename
:
filename
,
publicPath
:
'
http://localhost:8080/
'
,
hotUpdateChunkFilename
:
'
hot/hot-update.js
'
,
hotUpdateMainFilename
:
'
hot/hot-update.json
'
},
module
:
{
rules
:
[
...
...
@@ -60,7 +64,7 @@ module.exports = {
test
:
/
\.
css$/
,
loader
:
'
css-loader
'
,
include
:
[
path
.
resolve
(
__dirname
,
'
src
'
,
'
assets
'
)
,
path
.
resolve
(
__dirname
,
'
src
'
,
'
assets
'
)
]
}
]
...
...
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