Skip to content

Fix minified bare buffer imports in production build#6

Merged
AquiGorka merged 2 commits intomainfrom
fix/minified-buffer-import
Mar 18, 2026
Merged

Fix minified bare buffer imports in production build#6
AquiGorka merged 2 commits intomainfrom
fix/minified-buffer-import

Conversation

@AquiGorka
Copy link
Copy Markdown
Contributor

The ESM import removal regex didn't match minified output (import{Buffer as $1}from"buffer" -- no spaces). Updated to handle both spaced and minified forms.

Same fix as council-console PR #7.

@AquiGorka AquiGorka merged commit 98eb66d into main Mar 18, 2026
2 checks passed
@AquiGorka AquiGorka deleted the fix/minified-buffer-import branch March 18, 2026 16:50
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