webpack-contrib / i18n-webpack-plugin

[DEPRECATED] Embed localization into your bundle
MIT License
317 stars 74 forks source link

compiler.parser warning in webpack 2.2.1 fixed #39

Closed vivek12345 closed 7 years ago

vivek12345 commented 7 years ago

1) webpack: Using compiler.parser is deprecated warning in webpack 2.2.1 fixed by replacing

compiler.parser.plugin("call " + this.functionName, function(expr) {
compiler.plugin("compilation", function(compilation, data) {
        data.normalModuleFactory.plugin("parser", function(parser, options) {
            parser.plugin("call " + that.functionName, function(expr) {