2024-09-23
- fix: The
preventAssignment
option is treated as a value to replace (#1768)
2024-09-23
- fix!: objectGuards doesn't take effects (#1764)
2024-06-05
- fix: add missing sourceMap documentation (#1698)
2024-06-05
- fix: ternary operator replacement (#1712)
2023-10-29
- fix: prevent variable before colons from being replaced when preventAssigment is true (#1609)
2023-10-15
- fix: bump magic-string version #1596
2023-10-05
- fix: ensure rollup 4 compatibility #1595
2022-12-17
- fix: update magic-string #1373
2022-10-21
- chore: update rollup dependencies (3038271)
2022-10-10
- fix: prepare for Rollup 3 #1286
2022-02-22
- fix: do not escape delimiters (#1088)
2022-02-11
- feat: typeofReplacements option (#1084)
2021-12-28
- fix: add types for
sourceMap
option (#1066)
- docs: clarify delimiters typing (#1013)
2021-07-16
- fix!: issues with nested objects replacements (#903)
2021-03-26
- docs: document the
values
option (#814)
2021-02-22
- fix: add missing types for new
preventAssignment
option (#813)
2021-02-22
- feat: prevent accidental replacement within assignment (#798)
- docs: clarify replacement. fixes #737 (#785)
2020-10-27
- docs: describe process.env.NODE_ENV case (#589)
- chore: update dependencies (53e2b73)
- docs: linting update in readme (aef7dbc)
2020-06-05
- docs: clarify options for allowed replacement values (#422)
2020-04-19
- chore: add rollup 2 to peer range (3e0d775)
2020-02-01
- chore: update dependencies (aca4a94)
2019-12-21
- feat(replace): allow plugin to operate as an output plugin (#55)
2019-11-06
- Move
typescript
todevDependencies
2019-04-10
- Add index.d.ts typings file (#31)
2019-03-18
2018-10-07
- Only match on word boundaries, unless delimiters are empty strings (#10)
- Allow replacement to be a function that takes a module ID (#1)
- Return a
name
- Generate sourcemaps by default
- Include correct files in package
- First release