css-hot-loader
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -0,1 +1,5 @@ | ||
### 1.4.3 2018-12-12 | ||
- feat: replace appendChild by insertBefore by [@focus7eleven](https://github.com/focus7eleven) [#54](https://github.com/shepherdwind/css-hot-loader/pull/54) | ||
### 1.4.2 2018-08-15 | ||
@@ -2,0 +6,0 @@ |
@@ -65,3 +65,4 @@ var normalizeUrl = require('normalize-url'); | ||
newEl.href = url + '?' + Date.now(); | ||
el.parentNode.appendChild(newEl); | ||
// insert new <link /> right to the old one's position | ||
el.parentNode.insertBefore(newEl, el.nextSibling); | ||
} | ||
@@ -68,0 +69,0 @@ |
{ | ||
"name": "css-hot-loader", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "css hot reload work with extract-text-webpack-plugin", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
12901
128