babel-plugin-minify-mangle-names
Advanced tools
Comparing version 0.5.0-alpha.8b905991 to 0.5.0-alpha.9939bca9
@@ -137,3 +137,7 @@ "use strict"; | ||
Object.keys(scope.bindings).forEach(name => { | ||
scopeTracker.addBinding(scope.bindings[name]); | ||
scopeTracker.addBinding(scope.bindings[name]); // add all constant violations as references | ||
scope.bindings[name].constantViolations.forEach(() => { | ||
scopeTracker.addReference(scope, scope.bindings[name], name); | ||
}); | ||
}); | ||
@@ -140,0 +144,0 @@ }, |
{ | ||
"name": "babel-plugin-minify-mangle-names", | ||
"version": "0.5.0-alpha.8b905991", | ||
"version": "0.5.0-alpha.9939bca9", | ||
"description": "", | ||
@@ -15,4 +15,4 @@ "keywords": [ | ||
"dependencies": { | ||
"babel-helper-mark-eval-scopes": "^0.5.0-alpha.8b905991" | ||
"babel-helper-mark-eval-scopes": "^0.5.0-alpha.9939bca9" | ||
} | ||
} |
@@ -34,3 +34,3 @@ # babel-plugin-minify-mangle-names | ||
```sh | ||
npm install babel-plugin-minify-mangle-names | ||
npm install babel-plugin-minify-mangle-names --save-dev | ||
``` | ||
@@ -37,0 +37,0 @@ |
32403
864