@kazupon/vue-i18n-loader
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -0,1 +1,11 @@ | ||
<a name="0.3.0"></a> | ||
# [0.3.0](https://github.com/kazupon/vue-i18n-loader/compare/v0.2.1...v0.3.0) (2018-03-04) | ||
### :star: New Features | ||
* added hmr ([#14](https://github.com/kazupon/vue-i18n-loader/issues/14), closes [#7](https://github.com/kazupon/vue-i18n-loader/issues/7)) by [@StephanGerbeth](https://github.com/StephanGerbeth) ([c04964c](https://github.com/kazupon/vue-i18n-loader/commit/c04964c)), closes [#7](https://github.com/kazupon/vue-i18n-loader/issues/7) | ||
<a name="0.2.1"></a> | ||
@@ -2,0 +12,0 @@ ## [0.2.1](https://github.com/kazupon/vue-i18n-loader/compare/v0.2.0...v0.2.1) (2017-08-25) |
@@ -29,4 +29,4 @@ 'use strict'; | ||
code += 'function (Component) {\n Component.options.__i18n = Component.options.__i18n || []\n Component.options.__i18n.push(\'' + value.replace(/\u0027/g, '\\u0027') + '\')\n}\n'; | ||
code += 'function (Component) {\n Component.options.__i18n = Component.options.__i18n || []\n Component.options.__i18n.push(\'' + value.replace(/\u0027/g, '\\u0027') + '\')\n delete Component.options._Ctor\n}\n'; | ||
return code; | ||
} |
{ | ||
"name": "@kazupon/vue-i18n-loader", | ||
"description": "vue-i18n loader for custom blocks", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "kazuya kawaguchi", |
@@ -31,4 +31,5 @@ export default function (content) { | ||
Component.options.__i18n.push('${value.replace(/\u0027/g, '\\u0027')}') | ||
delete Component.options._Ctor | ||
}\n` | ||
return code | ||
} |
8442
56