forked from babel/minify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: property names minification - removal of quotes (babel#730)
+ t.valueToNode(<objectExpressionNode>) returns an object expression node and again but with a few other effects - it removes the quotes from property names for some unicode which is not supported in Safari and a few other older browsers. So we bail here and let propertyLiterals plugin handle the conversion of StringLiterals to Identifiers. + Fix babel#627 + Fix babel#706
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters