Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Conversation

@ceciliaavila
Copy link
Collaborator

Fixes #4907

Description

This PR fixes the browser build for adaptive-expressions by disabling the tsup minification and using terser as a minifier in a separated build step.
It also adds a replacement for the assert module, required by the ANTLR parser.

Specific Changes

  • Added build:browser:min script to use terser as the adaptive-expressions minifier.
  • Added assert alias in tsup.config.ts.
  • Updated tsup.config.ts to allow overriding the minify option.

Testing

These images show the thee browser-compiled packages working after the changes.
image

@ceciliaavila
Copy link
Collaborator Author

The issue was closed as the repository is scheduled for deprecation soon.

@ceciliaavila ceciliaavila deleted the southworks/fix/browser-build branch December 15, 2025 12:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

adaptive-expression does not work in the browser anymore

2 participants