@skroutz/i18n-webpack-plugin
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -35,12 +35,12 @@ const ConstDependency = require('webpack/lib/dependencies/ConstDependency'); | ||
.tap('I18nPlugin', function(parser, options) { | ||
parser.plugin('call __', function(expr) { | ||
return _this.translate(this, expr); | ||
parser.hooks.call.for('__').tap('I18nPlugin', function(expr) { | ||
return _this.translate(parser, expr); | ||
}); | ||
parser.plugin('call s__', function(expr) { | ||
return _this.translate(this, expr); | ||
parser.hooks.call.for('s__').tap('I18nPlugin', function(expr) { | ||
return _this.translate(parser, expr); | ||
}); | ||
parser.plugin('call n__', function(expr) { | ||
return _this.translate(this, expr); | ||
parser.hooks.call.for('n__').tap('I18nPlugin', function(expr) { | ||
return _this.translate(parser, expr); | ||
}); | ||
@@ -47,0 +47,0 @@ }); |
{ | ||
"name": "@skroutz/i18n-webpack-plugin", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16447