nxNx
GitHubNxWorkspace
GitHub
  • CI Pipeline Executions
    • Current executionSucceeded
      gh-36205
    • Runs and Agents
    • Timeline
    • Configuration
    • Self-Healing CI
    • Project Graph
    • Resource Usage
    • Analysis
    • Conformance
  • Runs
    • Current runSucceeded
    • Tasks
    • Resource Usage
Insights
  • Compare tasks
  • Analytics
  • Sign in
    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.
    nx-cloud record -- nx format:check
Succeeded
Linux
4 CPU cores
56b956e236218

© 2026 - Nx Cloud

Terms of ServicePrivacy PolicyChangelogStatusDocsContact Nx CloudPricingCompany@NxDevTools