1 | # @rollup/plugin-node-resolve ChangeLog
|
2 |
|
3 | ## v8.1.0
|
4 |
|
5 | _2020-06-22_
|
6 |
|
7 | ### Features
|
8 |
|
9 | - feat: add native node es modules support (#413)
|
10 |
|
11 | ## v8.0.1
|
12 |
|
13 | _2020-06-05_
|
14 |
|
15 | ### Bugfixes
|
16 |
|
17 | - fix: handle nested entry modules with the resolveOnly option (#430)
|
18 |
|
19 | ## v8.0.0
|
20 |
|
21 | _2020-05-20_
|
22 |
|
23 | ### Breaking Changes
|
24 |
|
25 | - feat: Add default export (#361)
|
26 | - feat: export defaults (#301)
|
27 |
|
28 | ### Bugfixes
|
29 |
|
30 | - fix: resolve local files if `resolveOption` is set (#337)
|
31 |
|
32 | ### Updates
|
33 |
|
34 | - docs: correct misspelling (#343)
|
35 |
|
36 | ## v7.1.3
|
37 |
|
38 | _2020-04-12_
|
39 |
|
40 | ### Bugfixes
|
41 |
|
42 | - fix: resolve symlinked entry point properly (#291)
|
43 |
|
44 | ## v7.1.2
|
45 |
|
46 | _2020-04-12_
|
47 |
|
48 | ### Updates
|
49 |
|
50 | - docs: fix url (#289)
|
51 |
|
52 | ## v7.1.1
|
53 |
|
54 | _2020-02-03_
|
55 |
|
56 | ### Bugfixes
|
57 |
|
58 | - fix: main fields regression (#196)
|
59 |
|
60 | ## v7.1.0
|
61 |
|
62 | _2020-02-01_
|
63 |
|
64 | ### Updates
|
65 |
|
66 | - refactor: clean codebase and fix external warnings (#155)
|
67 |
|
68 | ## v7.0.0
|
69 |
|
70 | _2020-01-07_
|
71 |
|
72 | ### Breaking Changes
|
73 |
|
74 | - feat: dedupe by package name (#99)
|
75 |
|
76 | ## v6.1.0
|
77 |
|
78 | _2020-01-04_
|
79 |
|
80 | ### Bugfixes
|
81 |
|
82 | - fix: allow deduplicating custom module dirs (#101)
|
83 |
|
84 | ### Features
|
85 |
|
86 | - feat: add rootDir option (#98)
|
87 |
|
88 | ### Updates
|
89 |
|
90 | - docs: improve doc related to mainFields (#138)
|
91 |
|
92 | ## 6.0.0
|
93 |
|
94 | _2019-11-25_
|
95 |
|
96 | - **Breaking:** Minimum compatible Rollup version is 1.20.0
|
97 | - **Breaking:** Minimum supported Node version is 8.0.0
|
98 | - Published as @rollup/plugin-node-resolve
|
99 |
|
100 | ## 5.2.1 (unreleased)
|
101 |
|
102 | - add missing MIT license file ([#233](https://github.com/rollup/rollup-plugin-node-resolve/pull/233) by @kenjiO)
|
103 | - Fix incorrect example of config ([#239](https://github.com/rollup/rollup-plugin-node-resolve/pull/240) by @myshov)
|
104 | - Fix typo in readme ([#240](https://github.com/rollup/rollup-plugin-node-resolve/pull/240) by @LinusU)
|
105 |
|
106 | ## 5.2.0 (2019-06-29)
|
107 |
|
108 | - dedupe accepts a function ([#225](https://github.com/rollup/rollup-plugin-node-resolve/pull/225) by @manucorporat)
|
109 |
|
110 | ## 5.1.1 (2019-06-29)
|
111 |
|
112 | - Move Rollup version check to buildStart hook to avoid issues ([#232](https://github.com/rollup/rollup-plugin-node-resolve/pull/232) by @lukastaegert)
|
113 |
|
114 | ## 5.1.0 (2019-06-22)
|
115 |
|
116 | - Fix path fragment inputs ([#229](https://github.com/rollup/rollup-plugin-node-resolve/pull/229) by @bterlson)
|
117 |
|
118 | ## 5.0.4 (2019-06-22)
|
119 |
|
120 | - Treat sideEffects array as inclusion list ([#227](https://github.com/rollup/rollup-plugin-node-resolve/pull/227) by @mikeharder)
|
121 |
|
122 | ## 5.0.3 (2019-06-16)
|
123 |
|
124 | - Make empty.js a virtual module ([#224](https://github.com/rollup/rollup-plugin-node-resolve/pull/224) by @manucorporat)
|
125 |
|
126 | ## 5.0.2 (2019-06-13)
|
127 |
|
128 | - Support resolve 1.11.1, add built-in test ([#223](https://github.com/rollup/rollup-plugin-node-resolve/pull/223) by @bterlson)
|
129 |
|
130 | ## 5.0.1 (2019-05-31)
|
131 |
|
132 | - Update to resolve@1.11.0 for better performance ([#220](https://github.com/rollup/rollup-plugin-node-resolve/pull/220) by @keithamus)
|
133 |
|
134 | ## 5.0.0 (2019-05-15)
|
135 |
|
136 | - Replace bublé with babel, update dependencies ([#216](https://github.com/rollup/rollup-plugin-node-resolve/pull/216) by @mecurc)
|
137 | - Handle module side-effects ([#219](https://github.com/rollup/rollup-plugin-node-resolve/pull/219) by @lukastaegert)
|
138 |
|
139 | ### Breaking Changes
|
140 |
|
141 | - Requires at least rollup@1.11.0 to work (v1.12.0 for module side-effects to be respected)
|
142 | - If used with rollup-plugin-commonjs, it should be at least v10.0.0
|
143 |
|
144 | ## 4.2.4 (2019-05-11)
|
145 |
|
146 | - Add note on builtins to Readme ([#215](https://github.com/rollup/rollup-plugin-node-resolve/pull/215) by @keithamus)
|
147 | - Add issue templates ([#217](https://github.com/rollup/rollup-plugin-node-resolve/pull/217) by @mecurc)
|
148 | - Improve performance by caching `isDir` ([#218](https://github.com/rollup/rollup-plugin-node-resolve/pull/218) by @keithamus)
|
149 |
|
150 | ## 4.2.3 (2019-04-11)
|
151 |
|
152 | - Fix ordering of jsnext:main when using the jsnext option ([#209](https://github.com/rollup/rollup-plugin-node-resolve/pull/209) by @lukastaegert)
|
153 |
|
154 | ## 4.2.2 (2019-04-10)
|
155 |
|
156 | - Fix TypeScript typings (rename and export Options interface) ([#206](https://github.com/rollup/rollup-plugin-node-resolve/pull/206) by @Kocal)
|
157 | - Fix mainfields typing ([#207](https://github.com/rollup/rollup-plugin-node-resolve/pull/207) by @nicolashenry)
|
158 |
|
159 | ## 4.2.1 (2019-04-06)
|
160 |
|
161 | - Respect setting the deprecated fields "module", "main", and "jsnext" ([#204](https://github.com/rollup/rollup-plugin-node-resolve/pull/204) by @nick-woodward)
|
162 |
|
163 | ## 4.2.0 (2019-04-06)
|
164 |
|
165 | - Add new mainfields option ([#182](https://github.com/rollup/rollup-plugin-node-resolve/pull/182) by @keithamus)
|
166 | - Added dedupe option to prevent bundling the same package multiple times ([#201](https://github.com/rollup/rollup-plugin-node-resolve/pull/182) by @sormy)
|
167 |
|
168 | ## 4.1.0 (2019-04-05)
|
169 |
|
170 | - Add TypeScript typings ([#189](https://github.com/rollup/rollup-plugin-node-resolve/pull/189) by @NotWoods)
|
171 | - Update dependencies ([#202](https://github.com/rollup/rollup-plugin-node-resolve/pull/202) by @lukastaegert)
|
172 |
|
173 | ## 4.0.1 (2019-02-22)
|
174 |
|
175 | - Fix issue when external modules are specified in `package.browser` ([#143](https://github.com/rollup/rollup-plugin-node-resolve/pull/143) by @keithamus)
|
176 | - Fix `package.browser` mapping issue when `false` is specified ([#183](https://github.com/rollup/rollup-plugin-node-resolve/pull/183) by @allex)
|
177 |
|
178 | ## 4.0.0 (2018-12-09)
|
179 |
|
180 | This release will support rollup@1.0
|
181 |
|
182 | ### Features
|
183 |
|
184 | - Resolve modules used to define manual chunks ([#185](https://github.com/rollup/rollup-plugin-node-resolve/pull/185) by @mcshaman)
|
185 | - Update dependencies and plugin hook usage ([#187](https://github.com/rollup/rollup-plugin-node-resolve/pull/187) by @lukastaegert)
|
186 |
|
187 | ## 3.4.0 (2018-09-04)
|
188 |
|
189 | This release now supports `.mjs` files by default
|
190 |
|
191 | ### Features
|
192 |
|
193 | - feat: Support .mjs files by default (https://github.com/rollup/rollup-plugin-node-resolve/pull/151, by @leebyron)
|
194 |
|
195 | ## 3.3.0 (2018-03-17)
|
196 |
|
197 | This release adds the `only` option
|
198 |
|
199 | ### New Features
|
200 |
|
201 | - feat: add `only` option (#83; @arantes555)
|
202 |
|
203 | ### Docs
|
204 |
|
205 | - docs: correct description of `jail` option (#120; @GeorgeTaveras1231)
|
206 |
|
207 | ## 3.2.0 (2018-03-07)
|
208 |
|
209 | This release caches reading/statting of files, to improve speed.
|
210 |
|
211 | ### Performance Improvements
|
212 |
|
213 | - perf: cache file stats/reads (#126; @keithamus)
|
214 |
|
215 | ## 3.0.4 (unreleased)
|
216 |
|
217 | - Update lockfile [#137](https://github.com/rollup/rollup-plugin-node-resolve/issues/137)
|
218 | - Update rollup dependency [#138](https://github.com/rollup/rollup-plugin-node-resolve/issues/138)
|
219 | - Enable installation from Github [#142](https://github.com/rollup/rollup-plugin-node-resolve/issues/142)
|
220 |
|
221 | ## 3.0.3
|
222 |
|
223 | - Fix [#130](https://github.com/rollup/rollup-plugin-node-resolve/issues/130) and [#131](https://github.com/rollup/rollup-plugin-node-resolve/issues/131)
|
224 |
|
225 | ## 3.0.2
|
226 |
|
227 | - Ensure `pkg.browser` is an object if necessary ([#129](https://github.com/rollup/rollup-plugin-node-resolve/pull/129))
|
228 |
|
229 | ## 3.0.1
|
230 |
|
231 | - Remove `browser-resolve` dependency ([#127](https://github.com/rollup/rollup-plugin-node-resolve/pull/127))
|
232 |
|
233 | ## 3.0.0
|
234 |
|
235 | - [BREAKING] Remove `options.skip` ([#90](https://github.com/rollup/rollup-plugin-node-resolve/pull/90))
|
236 | - Add `modulesOnly` option ([#96](https://github.com/rollup/rollup-plugin-node-resolve/pull/96))
|
237 |
|
238 | ## 2.1.1
|
239 |
|
240 | - Prevent `jail` from breaking builds on Windows ([#93](https://github.com/rollup/rollup-plugin-node-resolve/issues/93))
|
241 |
|
242 | ## 2.1.0
|
243 |
|
244 | - Add `jail` option ([#53](https://github.com/rollup/rollup-plugin-node-resolve/pull/53))
|
245 | - Add `customResolveOptions` option ([#79](https://github.com/rollup/rollup-plugin-node-resolve/pull/79))
|
246 | - Support symlinked packages ([#82](https://github.com/rollup/rollup-plugin-node-resolve/pull/82))
|
247 |
|
248 | ## 2.0.0
|
249 |
|
250 | - Add support `module` field in package.json as an official alternative to jsnext
|
251 |
|
252 | ## 1.7.3
|
253 |
|
254 | - Error messages are more descriptive ([#50](https://github.com/rollup/rollup-plugin-node-resolve/issues/50))
|
255 |
|
256 | ## 1.7.2
|
257 |
|
258 | - Allow entry point paths beginning with ./
|
259 |
|
260 | ## 1.7.1
|
261 |
|
262 | - Return a `name`
|
263 |
|
264 | ## 1.7.0
|
265 |
|
266 | - Allow relative IDs to be external ([#32](https://github.com/rollup/rollup-plugin-node-resolve/pull/32))
|
267 |
|
268 | ## 1.6.0
|
269 |
|
270 | - Skip IDs containing null character
|
271 |
|
272 | ## 1.5.0
|
273 |
|
274 | - Prefer built-in options, but allow opting out ([#28](https://github.com/rollup/rollup-plugin-node-resolve/pull/28))
|
275 |
|
276 | ## 1.4.0
|
277 |
|
278 | - Pass `options.extensions` through to `node-resolve`
|
279 |
|
280 | ## 1.3.0
|
281 |
|
282 | - `skip: true` skips all packages that don't satisfy the `main` or `jsnext` options ([#16](https://github.com/rollup/rollup-plugin-node-resolve/pull/16))
|
283 |
|
284 | ## 1.2.1
|
285 |
|
286 | - Support scoped packages in `skip` option ([#15](https://github.com/rollup/rollup-plugin-node-resolve/issues/15))
|
287 |
|
288 | ## 1.2.0
|
289 |
|
290 | - Support `browser` field ([#8](https://github.com/rollup/rollup-plugin-node-resolve/issues/8))
|
291 | - Get tests to pass on Windows
|
292 |
|
293 | ## 1.1.0
|
294 |
|
295 | - Use node-resolve to handle various corner cases
|
296 |
|
297 | ## 1.0.0
|
298 |
|
299 | - Add ES6 build, use Rollup 0.20.0
|
300 |
|
301 | ## 0.1.0
|
302 |
|
303 | - First release
|