esbuild-plugin-replace
esbuild-plugin-replace copied to clipboard
Add `preventAssignment` option
- Added option for
preventAssignment
- Updated
README.md
Mimics the implementation from @rollup/plugin-replace
.
I was trying to recreate the preventAssignment
option by using custom delimiters
but since that is not possible because custom delimiter values are being escaped it prompted me to suggest this change instead.
Although, I still believe that custom delimiters
should not be escaped to allow for more granular customization.