dillon1000/react

Commit

Rewrite vendor/constants.js to use require("ast-types").traverse.

Most notably, this new style of transformation gives us access to
this.parent.node, which allows us to avoid replacing identifiers that are
not actually free variables, such as member expression properties.

Closes #496.
Browse files
Changed paths2 files
First-parent comparison
M package.json ModifiedM vendor/constants.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…