svg-sprite-loader
Advanced tools
Comparing version 2.1.0-0 to 2.1.0-1
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.1.0-1"></a> | ||
# [2.1.0-1](https://github.com/kisenka/webpack-svg-sprite-loader/compare/v2.1.0-0...v2.1.0-1) (2017-05-08) | ||
### Bug Fixes | ||
* **plugin:** properly generate symbol url in extract mode ([6af7230](https://github.com/kisenka/webpack-svg-sprite-loader/commit/6af7230)) | ||
<a name="2.1.0-0"></a> | ||
@@ -7,0 +17,0 @@ # [2.1.0-0](https://github.com/kisenka/webpack-svg-sprite-loader/compare/v2.0.5...v2.1.0-0) (2017-05-07) |
@@ -37,3 +37,3 @@ /* eslint-disable import/no-extraneous-dependencies */ | ||
const map = new MappedList(symbols, this); | ||
const replacements = map.groupItemsBySymbolFile((acc, item) => acc[item.resource] = item.url); | ||
const replacements = map.groupItemsBySymbolFile((acc, item) => acc[item.resource] = item.useUrl); | ||
map.items.forEach(item => replaceInModuleSource(item.module, replacements)); | ||
@@ -40,0 +40,0 @@ }); |
{ | ||
"name": "svg-sprite-loader", | ||
"version": "2.1.0-0", | ||
"version": "2.1.0-1", | ||
"description": "SVG sprite loader for Webpack", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/kisenka/webpack-svg-sprite-loader#readme", |
Sorry, the diff of this file is not supported yet
891541