developit / microbundle

📦 Zero-configuration bundler for tiny modules.
https://npm.im/microbundle
MIT License
8k stars 361 forks source link

--define skips `=` symbol in strings #1024

Open Krombik opened 1 year ago

Krombik commented 1 year ago

input:

microbundle --define A='a',B='abc=='

Expected behavior: B replaced by 'abc=='

Current behavior: B replaced by 'abc'

rschristian commented 1 year ago

May I ask why you need this? What's the use case?

Krombik commented 1 year ago

some tokens may contain this symbol