fis3-parser-react-i18n
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -167,3 +167,3 @@ var parse = require('@babel/parser').parse; | ||
.toString() | ||
.replace(/`/g, '') | ||
.replace(/^`|`$/g, '') | ||
.replace(/\$\{([\s\S]+?)\}/g, function () { | ||
@@ -204,3 +204,3 @@ var agr = []; | ||
if (zhExt.test(path.toString())) { | ||
var value = path.node.value.toString().replace(/'|"/g, ''); | ||
var value = path.node.value.toString(); | ||
var id = hash(value); | ||
@@ -207,0 +207,0 @@ if (noLocale(value, id, relativePath)) { |
{ | ||
"name": "fis3-parser-react-i18n", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "fis3处理react国际化插件", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
9455