nx
Nx
GitHub
Nx
Workspace
GitHub
CI Pipeline Executions
Filtered
Runs
Demo
Insights
Compare tasks
Analytics
Sign in
Toggle sidebar
Overview
⌘K
Nx
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
36218
ac497423 fix(js): support private methods and static blocks in babel preset The @nx/js/babel preset loads @babel/plugin-transform-class-properties on its own, which runs babel's shared class-features plugin. That plugin hard-errors on #private methods and static blocks unless their companion transforms are loaded too, so babel-jest failed with "Class private methods are not enabled" when transforming an ESM-only dependency that uses such syntax (un-ignored via transformIgnorePatterns). Load the companion class-features transforms next to class-properties: private-methods and private-property-in-object with the same loose setting (babel requires loose to match across the three), plus class-static-block. This clears the whole family of "not enabled" hard-errors, not just private methods.
by Leosvel Pé...
L
Canceled
36218
ac497423 fix(js): support private methods and static blocks in babel preset The @nx/js/babel preset loads @babel/plugin-transform-class-properties on its own, which runs babel's shared class-features plugin. That plugin hard-errors on #private methods and static blocks unless their companion transforms are loaded too, so babel-jest failed with "Class private methods are not enabled" when transforming an ESM-only dependency that uses such syntax (un-ignored via transformIgnorePatterns). Load the companion class-features transforms next to class-properties: private-methods and private-property-in-object with the same loose setting (babel requires loose to match across the three), plus class-static-block. This clears the whole family of "not enabled" hard-errors, not just private methods.
by Leosvel Pé...
L
Previous
Next