Skip to content

feat(bundler): allow disabling the NativeClass transformer - #11350

Open
NathanWalker wants to merge 1 commit into
mainfrom
feat/disable-native-class-transformer
Open

feat(bundler): allow disabling the NativeClass transformer#11350
NathanWalker wants to merge 1 commit into
mainfrom
feat/disable-native-class-transformer

Conversation

@NathanWalker

@NathanWalker NathanWalker commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Keep the @nativeclass transformer downleveling on by default, and add --env.disableNativeClassTransformer so webpack and vite can optionally disable transformations for use with the new 9.1+ runtimes for native-"@nativeclass" ES class support.

  • backwards compat by default
  • opt-in for those that want to take advantage of new runtime features
  • new behavior will become default by v10 or v11

Keep the @nativeclass downlevel on by default, and add
--env.disableNativeClassTransformer so webpack and vite can leave the
decorator for the runtime while testing native ES class support.
@nx-cloud

nx-cloud Bot commented Aug 15, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 133a2c1

Command Status Duration Result
nx run-many --target=test --configuration=ci --... ✅ Succeeded 2s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-08-15 05:05:05 UTC

@nx-cloud

nx-cloud Bot commented Aug 15, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 133a2c1

Command Status Duration Result
nx test apps-automated -c=ios ✅ Succeeded 2m 33s View ↗
nx run-many --target=test --configuration=ci --... ✅ Succeeded 2s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-08-15 05:07:55 UTC

@NathanWalker NathanWalker changed the title feat: allow disabling the NativeClass bundler transformer feat(bundler): allow disabling the NativeClass transformer Aug 15, 2026
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.

1 participant