Skip to content

Conversation

@deepak0x
Copy link

@deepak0x deepak0x commented Jan 4, 2026

  • Replace 'import packageJson from ./package.json assert { type: 'json' }' with readFileSync
  • Fixes build error: SyntaxError: Unexpected identifier 'assert'
  • Affects packages/auth and packages/api rollup.config.js files
  • Uses Node.js fs.readFileSync which is compatible with Rollup parser

Closes #1050

Screenshot 2026-01-04 at 3 02 56 PM Screenshot 2026-01-04 at 3 05 22 PM

- Replace 'import packageJson from ./package.json assert { type: 'json' }' with readFileSync
- Fixes build error: SyntaxError: Unexpected identifier 'assert'
- Affects packages/auth and packages/api rollup.config.js files
- Uses Node.js fs.readFileSync which is compatible with Rollup parser
@deepak0x
Copy link
Author

deepak0x commented Jan 8, 2026

@Spiral-Memory can you please check this pr...

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.

Build fails with "SyntaxError: Unexpected identifier 'assert'" in @embeddedchat/auth package

1 participant