| 1 | # @rollup/plugin-replace ChangeLog
|
|---|
| 2 |
|
|---|
| 3 | ## v2.4.2
|
|---|
| 4 |
|
|---|
| 5 | _2021-03-26_
|
|---|
| 6 |
|
|---|
| 7 | ### Updates
|
|---|
| 8 |
|
|---|
| 9 | - docs: document the `values` option (#814)
|
|---|
| 10 |
|
|---|
| 11 | ## v2.4.1
|
|---|
| 12 |
|
|---|
| 13 | _2021-02-22_
|
|---|
| 14 |
|
|---|
| 15 | ### Bugfixes
|
|---|
| 16 |
|
|---|
| 17 | - fix: add missing types for new `preventAssignment` option (#813)
|
|---|
| 18 |
|
|---|
| 19 | ## v2.4.0
|
|---|
| 20 |
|
|---|
| 21 | _2021-02-22_
|
|---|
| 22 |
|
|---|
| 23 | ### Features
|
|---|
| 24 |
|
|---|
| 25 | - feat: prevent accidental replacement within assignment (#798)
|
|---|
| 26 |
|
|---|
| 27 | ### Updates
|
|---|
| 28 |
|
|---|
| 29 | - docs: clarify replacement. fixes #737 (#785)
|
|---|
| 30 |
|
|---|
| 31 | ## v2.3.4
|
|---|
| 32 |
|
|---|
| 33 | _2020-10-27_
|
|---|
| 34 |
|
|---|
| 35 | ### Updates
|
|---|
| 36 |
|
|---|
| 37 | - docs: describe process.env.NODE_ENV case (#589)
|
|---|
| 38 | - chore: update dependencies (53e2b73)
|
|---|
| 39 | - docs: linting update in readme (aef7dbc)
|
|---|
| 40 |
|
|---|
| 41 | ## v2.3.3
|
|---|
| 42 |
|
|---|
| 43 | _2020-06-05_
|
|---|
| 44 |
|
|---|
| 45 | ### Updates
|
|---|
| 46 |
|
|---|
| 47 | - docs: clarify options for allowed replacement values (#422)
|
|---|
| 48 |
|
|---|
| 49 | ## v2.3.2
|
|---|
| 50 |
|
|---|
| 51 | _2020-04-19_
|
|---|
| 52 |
|
|---|
| 53 | ### Updates
|
|---|
| 54 |
|
|---|
| 55 | - chore: add rollup 2 to peer range (3e0d775)
|
|---|
| 56 |
|
|---|
| 57 | ## v2.3.1
|
|---|
| 58 |
|
|---|
| 59 | _2020-02-01_
|
|---|
| 60 |
|
|---|
| 61 | ### Updates
|
|---|
| 62 |
|
|---|
| 63 | - chore: update dependencies (aca4a94)
|
|---|
| 64 |
|
|---|
| 65 | ## 2.3.0
|
|---|
| 66 |
|
|---|
| 67 | _2019-12-21_
|
|---|
| 68 |
|
|---|
| 69 | - feat(replace): allow plugin to operate as an output plugin (#55)
|
|---|
| 70 |
|
|---|
| 71 | ## 2.2.1
|
|---|
| 72 |
|
|---|
| 73 | _2019-11-06_
|
|---|
| 74 |
|
|---|
| 75 | - Move `typescript` to `devDependencies`
|
|---|
| 76 |
|
|---|
| 77 | ## 2.2.0
|
|---|
| 78 |
|
|---|
| 79 | _2019-04-10_
|
|---|
| 80 |
|
|---|
| 81 | - Add index.d.ts typings file ([#31](https://github.com/rollup/rollup-plugin-replace/pull/31))
|
|---|
| 82 |
|
|---|
| 83 | ## 2.1.1
|
|---|
| 84 |
|
|---|
| 85 | _2019-03-18_
|
|---|
| 86 |
|
|---|
| 87 | - Update rollup-pluginutils ([#29](https://github.com/rollup/rollup-plugin-replace/pull/29))
|
|---|
| 88 | - Update dependencies ([#30](https://github.com/rollup/rollup-plugin-replace/pull/30))
|
|---|
| 89 |
|
|---|
| 90 | ## 2.1.0
|
|---|
| 91 |
|
|---|
| 92 | _2018-10-07_
|
|---|
| 93 |
|
|---|
| 94 | - Do not mutate values passed as option ([#22](https://github.com/rollup/rollup-plugin-replace/pull/22))
|
|---|
| 95 | - Update dependencies and improve tests ([#26](https://github.com/rollup/rollup-plugin-replace/pull/26))
|
|---|
| 96 |
|
|---|
| 97 | ## 2.0.0
|
|---|
| 98 |
|
|---|
| 99 | - Only match on word boundaries, unless delimiters are empty strings ([#10](https://github.com/rollup/rollup-plugin-replace/pull/10))
|
|---|
| 100 |
|
|---|
| 101 | ## 1.2.1
|
|---|
| 102 |
|
|---|
| 103 | - Match longest keys first ([#8](https://github.com/rollup/rollup-plugin-replace/pull/8))
|
|---|
| 104 | - Escape keys ([#9](https://github.com/rollup/rollup-plugin-replace/pull/9))
|
|---|
| 105 |
|
|---|
| 106 | ## 1.2.0
|
|---|
| 107 |
|
|---|
| 108 | - Allow replacement to be a function that takes a module ID ([#1](https://github.com/rollup/rollup-plugin-replace/issues/1))
|
|---|
| 109 |
|
|---|
| 110 | ## 1.1.1
|
|---|
| 111 |
|
|---|
| 112 | - Return a `name`
|
|---|
| 113 |
|
|---|
| 114 | ## 1.1.0
|
|---|
| 115 |
|
|---|
| 116 | - Generate sourcemaps by default
|
|---|
| 117 |
|
|---|
| 118 | ## 1.0.1
|
|---|
| 119 |
|
|---|
| 120 | - Include correct files in package
|
|---|
| 121 |
|
|---|
| 122 | ## 1.0.0
|
|---|
| 123 |
|
|---|
| 124 | - First release
|
|---|