Skip to content

Conversation

matzeeable
Copy link
Contributor

When working with tree-shaking, vendor chunks and other optimizations webpack will create mangled function names for __, _n...

Object(_utils__WEBPACK_IMPORTED_MODULE_6__[/* __*/ "a"])("Try again");

Reference: #203.

@matzeeable matzeeable requested a review from a team as a code owner March 1, 2020 12:14
@matzeeable matzeeable mentioned this pull request Mar 1, 2020
2 tasks
@swissspidy
Copy link
Member

Thanks a lot!

Would you also be able to add some tests for this change?

@matzeeable
Copy link
Contributor Author

@swissspidy Tests added and CI passed 😉

@swissspidy swissspidy added this to the 2.2.3 milestone Mar 2, 2020
@swissspidy swissspidy merged commit 3acd67f into wp-cli:master Mar 2, 2020
schlessera pushed a commit that referenced this pull request Jan 6, 2022
fix(make-pot): parses mangled webpack statements (closes #203)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants