turbo
f29fd1f6 - fix(boundaries): Enable import attributes parsing (#11053)

Commit
36 days ago
fix(boundaries): Enable import attributes parsing (#11053) ## Summary Fixes #10961 - Enables parsing of import attributes (the `with` keyword syntax) in the `turbo boundaries` command. ## Details The issue was that PR #10078 fixed import attributes parsing for `turbo-trace` but didn't apply the same fix to the boundaries module. This caused the boundaries command to fail with "Expected ';', got 'with'" when encountering modern import syntax like: ```js import pkg from './package.json' with { type: 'json' }; ``` ## Changes - Added `import_attributes: true` to the SWC ES syntax configuration in `crates/turborepo-lib/src/boundaries/mod.rs:437` - Added test fixture with import attributes to verify the fix works ## Test Plan - [x] Built the project successfully - [x] Verified boundaries command now parses files with import attributes without errors - [x] Added test fixture file with import attributes that gets checked by integration tests 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude <noreply@anthropic.com>
Author
Parents
Loading