1 | ### Changelog
|
2 |
|
3 | All notable changes to this project will be documented in this file. Dates are displayed in UTC.
|
4 |
|
5 | Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
6 |
|
7 | #### [v5.2.3](https://github.com/neutrinojs/webpack-chain/compare/v5.2.2...v5.2.3)
|
8 |
|
9 | > 22 March 2019
|
10 |
|
11 | - optimize type definitions [`#156`](https://github.com/neutrinojs/webpack-chain/pull/156)
|
12 | - Lock file maintenance [`#155`](https://github.com/neutrinojs/webpack-chain/pull/155)
|
13 |
|
14 | #### [v5.2.2](https://github.com/neutrinojs/webpack-chain/compare/v5.2.1...v5.2.2)
|
15 |
|
16 | > 12 March 2019
|
17 |
|
18 | - Fix README comment rendering [`#154`](https://github.com/neutrinojs/webpack-chain/pull/154)
|
19 | - Lock file maintenance [`#153`](https://github.com/neutrinojs/webpack-chain/pull/153)
|
20 | - Update dependency javascript-stringify to v2 [`#151`](https://github.com/neutrinojs/webpack-chain/pull/151)
|
21 | - Fix stringify master bustage [`55f6a5d`](https://github.com/neutrinojs/webpack-chain/commit/55f6a5d25b58d03fbc57a17d8c2e09de310fa068)
|
22 |
|
23 | #### [v5.2.1](https://github.com/neutrinojs/webpack-chain/compare/v5.2.0...v5.2.1)
|
24 |
|
25 | > 7 March 2019
|
26 |
|
27 | - Lock file maintenance [`#145`](https://github.com/neutrinojs/webpack-chain/pull/145)
|
28 | - Add `config.output.globalObject` type [`#147`](https://github.com/neutrinojs/webpack-chain/pull/147)
|
29 | - add module-rule-type [`#148`](https://github.com/neutrinojs/webpack-chain/pull/148)
|
30 | - Update `config.mode` type [`#146`](https://github.com/neutrinojs/webpack-chain/pull/146)
|
31 | - Update dependency eslint-config-prettier to v4 [`75aa60b`](https://github.com/neutrinojs/webpack-chain/commit/75aa60b760947cd8eb438691158dd9db52f4f9f5)
|
32 |
|
33 | #### [v5.2.0](https://github.com/neutrinojs/webpack-chain/compare/v5.1.0...v5.2.0)
|
34 |
|
35 | > 23 January 2019
|
36 |
|
37 | - Add `config.name` type [`#143`](https://github.com/neutrinojs/webpack-chain/pull/143)
|
38 | - Add TypeScript type definitions [`#132`](https://github.com/neutrinojs/webpack-chain/pull/132)
|
39 | - docs: Fix typo of 'optimization' [`#139`](https://github.com/neutrinojs/webpack-chain/pull/139)
|
40 |
|
41 | #### [v5.1.0](https://github.com/neutrinojs/webpack-chain/compare/v5.0.1...v5.1.0)
|
42 |
|
43 | > 16 January 2019
|
44 |
|
45 | - Support config.name() setter [`#131`](https://github.com/neutrinojs/webpack-chain/pull/131)
|
46 | - Allow use of before() and after() with oneOf rules [`#133`](https://github.com/neutrinojs/webpack-chain/pull/133)
|
47 | - Travis: Test against Node 11 [`#118`](https://github.com/neutrinojs/webpack-chain/pull/118)
|
48 | - docs: Fix typo in devServer options [`#117`](https://github.com/neutrinojs/webpack-chain/pull/117)
|
49 | - Update dependency ava to v1 [`ce9e884`](https://github.com/neutrinojs/webpack-chain/commit/ce9e884f988a01ac6297d167dfd013cab8d8c24a)
|
50 | - Lock file maintenance [`d124b5d`](https://github.com/neutrinojs/webpack-chain/commit/d124b5df6648257092becae81ceece9bef5485b8)
|
51 |
|
52 | #### [v5.0.1](https://github.com/neutrinojs/webpack-chain/compare/v5.0.0...v5.0.1)
|
53 |
|
54 | > 22 October 2018
|
55 |
|
56 | - Fix toString() output for alternative types of plugin [`#116`](https://github.com/neutrinojs/webpack-chain/pull/116)
|
57 |
|
58 | ### [v5.0.0](https://github.com/neutrinojs/webpack-chain/compare/v4.12.1...v5.0.0)
|
59 |
|
60 | > 8 October 2018
|
61 |
|
62 | - README: Add NPM/Travis badges [`#112`](https://github.com/neutrinojs/webpack-chain/pull/112)
|
63 | - Provide the same API for config.optimization.minimizer as config.plugins [`#84`](https://github.com/neutrinojs/webpack-chain/pull/84)
|
64 |
|
65 | #### [v4.12.1](https://github.com/neutrinojs/webpack-chain/compare/v4.12.0...v4.12.1)
|
66 |
|
67 | > 3 October 2018
|
68 |
|
69 | - Switch from changelog to auto-changelog [`#109`](https://github.com/neutrinojs/webpack-chain/pull/109)
|
70 | - Allow passing entry as a string to config.merge() [`#107`](https://github.com/neutrinojs/webpack-chain/pull/107)
|
71 | - Lock file maintenance [`#101`](https://github.com/neutrinojs/webpack-chain/pull/101)
|
72 | - Update dependency eslint-plugin-prettier to v3 [`e42d8bd`](https://github.com/neutrinojs/webpack-chain/commit/e42d8bd2f6f70841c4d1ab7a2926c26d3ec828ed)
|
73 |
|
74 | #### [v4.12.0](https://github.com/neutrinojs/webpack-chain/compare/v4.11.0...v4.12.0)
|
75 |
|
76 | > 28 September 2018
|
77 |
|
78 | - Revert changes to gitignore [`c1250a0`](https://github.com/neutrinojs/webpack-chain/commit/c1250a0fe7ffafa82f529ac8e7262e2c3cdd4729)
|
79 |
|
80 | #### [v4.11.0](https://github.com/neutrinojs/webpack-chain/compare/v4.10.0...v4.11.0)
|
81 |
|
82 | > 13 September 2018
|
83 |
|
84 | - Support specifying plugins by path [`#102`](https://github.com/neutrinojs/webpack-chain/pull/102)
|
85 | - Lock file maintenance [`#100`](https://github.com/neutrinojs/webpack-chain/pull/100)
|
86 | - Lock file maintenance [`#96`](https://github.com/neutrinojs/webpack-chain/pull/96)
|
87 |
|
88 | #### [v4.10.0](https://github.com/neutrinojs/webpack-chain/compare/v4.9.0...v4.10.0)
|
89 |
|
90 | > 6 September 2018
|
91 |
|
92 | - Use the Resolve API to define ResolveLoader according to webpack [`#99`](https://github.com/neutrinojs/webpack-chain/pull/99)
|
93 | - Migrate to new org [`#92`](https://github.com/neutrinojs/webpack-chain/pull/92)
|
94 | - test: 'clean' in 'ChainedMap' [`#93`](https://github.com/neutrinojs/webpack-chain/pull/93)
|
95 | - Lock file maintenance [`3a4b3e1`](https://github.com/neutrinojs/webpack-chain/commit/3a4b3e10032856ab7f01afa67a23dd9e4e68161a)
|
96 | - Lock file maintenance [`815bfd1`](https://github.com/neutrinojs/webpack-chain/commit/815bfd173a2dc6f802b66a48cdb2c4d2ff47df9f)
|
97 |
|
98 | #### [v4.9.0](https://github.com/neutrinojs/webpack-chain/compare/v4.8.0...v4.9.0)
|
99 |
|
100 | > 15 August 2018
|
101 |
|
102 | - Update to ESLint 5 [`#89`](https://github.com/neutrinojs/webpack-chain/pull/89)
|
103 | - Lock file maintenance [`#85`](https://github.com/neutrinojs/webpack-chain/pull/85)
|
104 | - Implement ChainedMap.getOrCompute [`#63`](https://github.com/neutrinojs/webpack-chain/pull/63)
|
105 | - Support Object literal plugin usage [`#86`](https://github.com/neutrinojs/webpack-chain/pull/86)
|
106 | - Lock file maintenance [`#61`](https://github.com/neutrinojs/webpack-chain/pull/61)
|
107 | - Lock file maintenance [`#60`](https://github.com/neutrinojs/webpack-chain/pull/60)
|
108 | - Update dependency eslint-config-airbnb-base to v13 [`7370962`](https://github.com/neutrinojs/webpack-chain/commit/73709628a6ff6661e478c652d0ff03b99b6c2abb)
|
109 | - merge resolve plugins just like config [`c47ee2d`](https://github.com/neutrinojs/webpack-chain/commit/c47ee2d52c1be4fcdbe10adef865e45d6fd729ef)
|
110 | - Fix linting :/ [`30cc11d`](https://github.com/neutrinojs/webpack-chain/commit/30cc11d0d35a5676069a623b180c8e7b00e099e4)
|
111 | - Fix README bug, test in Node.js v6 [`4a37c74`](https://github.com/neutrinojs/webpack-chain/commit/4a37c74e1f790e118034154da9c32d0e36164f74)
|
112 | - linted [`dff82f8`](https://github.com/neutrinojs/webpack-chain/commit/dff82f8494394dcf8c97bff324f877513f44fa56)
|
113 | - Run yarn lint --fix [`9384537`](https://github.com/neutrinojs/webpack-chain/commit/9384537269d60bb80b3330cf44ddbdd9d528c454)
|
114 |
|
115 | #### [v4.8.0](https://github.com/neutrinojs/webpack-chain/compare/v4.7.0...v4.8.0)
|
116 |
|
117 | > 16 May 2018
|
118 |
|
119 | - Expose toString as a static method on Config [`#57`](https://github.com/neutrinojs/webpack-chain/pull/57)
|
120 | - Add test for Config.toString, add README note [`0107aef`](https://github.com/neutrinojs/webpack-chain/commit/0107aef203202aef069190723b04ec4f6ac80b9f)
|
121 |
|
122 | #### [v4.7.0](https://github.com/neutrinojs/webpack-chain/compare/v4.6.0...v4.7.0)
|
123 |
|
124 | > 15 May 2018
|
125 |
|
126 | - Lint with eslint, prettier, airbnb [`#52`](https://github.com/neutrinojs/webpack-chain/pull/52)
|
127 | - Support Config.toString() with name hints [`#53`](https://github.com/neutrinojs/webpack-chain/pull/53)
|
128 | - Configure Renovate [`#54`](https://github.com/neutrinojs/webpack-chain/pull/54)
|
129 | - Lock file maintenance [`50d4db8`](https://github.com/neutrinojs/webpack-chain/commit/50d4db81ab5fe62a55435720f5c78ddc40309a88)
|
130 |
|
131 | #### [v4.6.0](https://github.com/neutrinojs/webpack-chain/compare/v4.5.0...v4.6.0)
|
132 |
|
133 | > 16 April 2018
|
134 |
|
135 | - Support Webpack 4.x [`#51`](https://github.com/neutrinojs/webpack-chain/pull/51)
|
136 | - Update devDependencies [`#50`](https://github.com/neutrinojs/webpack-chain/pull/50)
|
137 |
|
138 | #### [v4.5.0](https://github.com/neutrinojs/webpack-chain/compare/v4.4.2...v4.5.0)
|
139 |
|
140 | > 22 November 2017
|
141 |
|
142 | - Introduce method for performing a batch of operations against a context [`#43`](https://github.com/neutrinojs/webpack-chain/pull/43)
|
143 |
|
144 | #### [v4.4.2](https://github.com/neutrinojs/webpack-chain/compare/v4.4.1...v4.4.2)
|
145 |
|
146 | > 10 October 2017
|
147 |
|
148 | - Update changelog [`1bb3da1`](https://github.com/neutrinojs/webpack-chain/commit/1bb3da1fec04a158f68762e57aff33a0172a298f)
|
149 | - Hotfix - guard against non-defined entries when ordering chainedmap [`76be81f`](https://github.com/neutrinojs/webpack-chain/commit/76be81f4509b9652bef25cc55747df87850b858e)
|
150 | - Updating changelog [`a71fc4b`](https://github.com/neutrinojs/webpack-chain/commit/a71fc4b70ccce358aacc29ed7dc5d8cdacdd4cc1)
|
151 |
|
152 | #### [v4.4.1](https://github.com/neutrinojs/webpack-chain/compare/v4.4.0...v4.4.1)
|
153 |
|
154 | > 6 October 2017
|
155 |
|
156 | - Updating changelog [`97a2fab`](https://github.com/neutrinojs/webpack-chain/commit/97a2fabf6e51f1b03cacb0991ba02e236be983fa)
|
157 | - Missing schema before/after [`8d8f26d`](https://github.com/neutrinojs/webpack-chain/commit/8d8f26dd0e6db375dbabb8e8dfe784e6c50408d5)
|
158 |
|
159 | #### [v4.4.0](https://github.com/neutrinojs/webpack-chain/compare/v4.3.0...v4.4.0)
|
160 |
|
161 | > 6 October 2017
|
162 |
|
163 | - Feature: allow specifying to use before or after other use [`#42`](https://github.com/neutrinojs/webpack-chain/pull/42)
|
164 | - Docs: Upstream fixes made to Neutrino's webpack-chain docs [`#41`](https://github.com/neutrinojs/webpack-chain/pull/41)
|
165 | - Improve documentation for plugin configuration [`#40`](https://github.com/neutrinojs/webpack-chain/pull/40)
|
166 | - Allow omitting keys from source merge object [`fb6ea2f`](https://github.com/neutrinojs/webpack-chain/commit/fb6ea2fad931c13e7516a3e9354215a78cb5c4ff)
|
167 | - Feature: allow specifying .before or .after to order plugins and uses [`b0040bf`](https://github.com/neutrinojs/webpack-chain/commit/b0040bff73b3b9e55d53192ac4a447a2ac8c02d1)
|
168 | - Rename when arguments to be clearer [`d15e895`](https://github.com/neutrinojs/webpack-chain/commit/d15e895669ce0a44c704755af39290700e73e85f)
|
169 | - Bumping deps [`c15be4a`](https://github.com/neutrinojs/webpack-chain/commit/c15be4ab99d232126bbf18666f4f20f80df21f90)
|
170 | - Update changelog [`5aec63a`](https://github.com/neutrinojs/webpack-chain/commit/5aec63a424c71a9a603540b33e576999c839f074)
|
171 |
|
172 | #### [v4.3.0](https://github.com/neutrinojs/webpack-chain/compare/v4.2.0...v4.3.0)
|
173 |
|
174 | > 13 September 2017
|
175 |
|
176 | - Update API for base config, dev server, and output [`#38`](https://github.com/neutrinojs/webpack-chain/pull/38)
|
177 | - Update changelog [`6260f49`](https://github.com/neutrinojs/webpack-chain/commit/6260f49edbcab301988b7b2c6c8a77e07707c010)
|
178 |
|
179 | #### [v4.2.0](https://github.com/neutrinojs/webpack-chain/compare/v4.1.0...v4.2.0)
|
180 |
|
181 | > 13 September 2017
|
182 |
|
183 | - Add new shorthands from resolve and output [`#37`](https://github.com/neutrinojs/webpack-chain/pull/37)
|
184 | - changelog [`0374e51`](https://github.com/neutrinojs/webpack-chain/commit/0374e518a4b465c73b5097eff6e4c77768319e4f)
|
185 | - Updating README with shorthands [`ae5e75a`](https://github.com/neutrinojs/webpack-chain/commit/ae5e75ae619d0399bcbf8e588a48759b0e590b6e)
|
186 |
|
187 | #### [v4.1.0](https://github.com/neutrinojs/webpack-chain/compare/v4.0.0...v4.1.0)
|
188 |
|
189 | > 12 September 2017
|
190 |
|
191 | - Updating rule definition shortcuts, adding oneOf [`#36`](https://github.com/neutrinojs/webpack-chain/pull/36)
|
192 |
|
193 | ### [v4.0.0](https://github.com/neutrinojs/webpack-chain/compare/v3.3.0...v4.0.0)
|
194 |
|
195 | > 3 August 2017
|
196 |
|
197 | - Switch noParse to getter/setter to allow webpack v3 function argument [`#32`](https://github.com/neutrinojs/webpack-chain/pull/32)
|
198 | - Serialize performance into config output [`#31`](https://github.com/neutrinojs/webpack-chain/pull/31)
|
199 | - Release v4.0.0 [`e84b002`](https://github.com/neutrinojs/webpack-chain/commit/e84b00207f6d4f4dc37c43ffffc65d8a34f63a75)
|
200 |
|
201 | #### [v3.3.0](https://github.com/neutrinojs/webpack-chain/compare/v3.2.0...v3.3.0)
|
202 |
|
203 | > 18 May 2017
|
204 |
|
205 | - Adding noParse on module [`#27`](https://github.com/neutrinojs/webpack-chain/pull/27)
|
206 | - Releasing v3.3.0 [`4a59bef`](https://github.com/neutrinojs/webpack-chain/commit/4a59bef687f273503945e638fefe1f6ab29857d1)
|
207 |
|
208 | #### [v3.2.0](https://github.com/neutrinojs/webpack-chain/compare/v3.1.0...v3.2.0)
|
209 |
|
210 | > 12 April 2017
|
211 |
|
212 | - Adding updated shorthand methods for devServer [`#23`](https://github.com/neutrinojs/webpack-chain/pull/23)
|
213 |
|
214 | #### [v3.1.0](https://github.com/neutrinojs/webpack-chain/compare/v3.0.0...v3.1.0)
|
215 |
|
216 | > 29 March 2017
|
217 |
|
218 | - Allow conditional configuration via when [`#22`](https://github.com/neutrinojs/webpack-chain/pull/22)
|
219 | - Update README with links to previous docs versions [`0dc3984`](https://github.com/neutrinojs/webpack-chain/commit/0dc39841b76c5e4d9493fa86d7f65e66145a6964)
|
220 | - Update README with links to previous docs versions [`bcc2362`](https://github.com/neutrinojs/webpack-chain/commit/bcc2362d396cee736feaa5e4537150b4a1fa2d4a)
|
221 |
|
222 | ### [v3.0.0](https://github.com/neutrinojs/webpack-chain/compare/v2.0.1...v3.0.0)
|
223 |
|
224 | > 8 March 2017
|
225 |
|
226 | - Make rule.include, rule.exclude, loaders and plugins more extensible [`#16`](https://github.com/neutrinojs/webpack-chain/pull/16)
|
227 |
|
228 | #### [v2.0.1](https://github.com/neutrinojs/webpack-chain/compare/v2.0.0...v2.0.1)
|
229 |
|
230 | > 8 March 2017
|
231 |
|
232 | - undefined plugin [`#17`](https://github.com/neutrinojs/webpack-chain/pull/17)
|
233 |
|
234 | ### [v2.0.0](https://github.com/neutrinojs/webpack-chain/compare/v1.4.3...v2.0.0)
|
235 |
|
236 | > 6 March 2017
|
237 |
|
238 | - Adding testing, which informed v2 API, updated docs to reflect [`#14`](https://github.com/neutrinojs/webpack-chain/pull/14)
|
239 | - Make Plugin API consistent with Loader API [`#13`](https://github.com/neutrinojs/webpack-chain/pull/13)
|
240 | - MPL license, moving to mozilla-neutrino [`f122edd`](https://github.com/neutrinojs/webpack-chain/commit/f122eddccb9f7af9742f5c447c651172700b4c50)
|
241 |
|
242 | #### [v1.4.3](https://github.com/neutrinojs/webpack-chain/compare/v1.4.2...v1.4.3)
|
243 |
|
244 | > 4 March 2017
|
245 |
|
246 | - Adding ChainedMap and ChainedSet documentation [`b071f82`](https://github.com/neutrinojs/webpack-chain/commit/b071f82042c7806f6d2df412a0154c1b985c4763)
|
247 | - Removing empty entities from cluttering configuration object [`b428e55`](https://github.com/neutrinojs/webpack-chain/commit/b428e55a671a033c133ba2e225796845307dee12)
|
248 | - Docs: getConfig -> toConfig [`2468eaa`](https://github.com/neutrinojs/webpack-chain/commit/2468eaac7e4c2f74cae244a4af6d2a517483db7b)
|
249 |
|
250 | #### [v1.4.2](https://github.com/neutrinojs/webpack-chain/compare/v1.4.1...v1.4.2)
|
251 |
|
252 | > 2 March 2017
|
253 |
|
254 | - Fix bug where `exclude` doesn't return `this` [`#7`](https://github.com/neutrinojs/webpack-chain/pull/7)
|
255 | - Bumping to v1.4.2 [`38d1412`](https://github.com/neutrinojs/webpack-chain/commit/38d1412037780b815c537de2abd5f02443b80502)
|
256 |
|
257 | #### [v1.4.1](https://github.com/neutrinojs/webpack-chain/compare/v1.4.0...v1.4.1)
|
258 |
|
259 | > 26 February 2017
|
260 |
|
261 | - Allowing config merge to append to existing rule loaders [`#3`](https://github.com/neutrinojs/webpack-chain/pull/3)
|
262 | - docs(readme): fix typo in devtool option [`#1`](https://github.com/neutrinojs/webpack-chain/pull/1)
|
263 |
|
264 | #### [v1.4.0](https://github.com/neutrinojs/webpack-chain/compare/v1.3.0...v1.4.0)
|
265 |
|
266 | > 15 February 2017
|
267 |
|
268 | - Adds rule test merge via string to regex, fixes externals not chainable [`a15b49e`](https://github.com/neutrinojs/webpack-chain/commit/a15b49ec28903708c04665d0c6cac3a956558a99)
|
269 |
|
270 | #### [v1.3.0](https://github.com/neutrinojs/webpack-chain/compare/v1.2.0...v1.3.0)
|
271 |
|
272 | > 14 February 2017
|
273 |
|
274 | - Adding functionality for merging and object into a Config instance [`5f0b0c6`](https://github.com/neutrinojs/webpack-chain/commit/5f0b0c670e6ad946e0232a208abb667f749aeba4)
|
275 |
|
276 | #### [v1.2.0](https://github.com/neutrinojs/webpack-chain/compare/v1.1.0...v1.2.0)
|
277 |
|
278 | > 13 February 2017
|
279 |
|
280 | - Adds hot flag for Config.DevServer [`c64a155`](https://github.com/neutrinojs/webpack-chain/commit/c64a1558188ab2a4982a7b3f2aba95ced50c9756)
|
281 |
|
282 | #### [v1.1.0](https://github.com/neutrinojs/webpack-chain/compare/v1.0.3...v1.1.0)
|
283 |
|
284 | > 13 February 2017
|
285 |
|
286 | - Adding ChainedSet#prepend functionality [`cc86e7b`](https://github.com/neutrinojs/webpack-chain/commit/cc86e7bdbdcaca7610255039dcb31adfacb4952b)
|
287 |
|
288 | #### [v1.0.3](https://github.com/neutrinojs/webpack-chain/compare/v1.0.2...v1.0.3)
|
289 |
|
290 | > 10 February 2017
|
291 |
|
292 | - Fixes exception with empty rule entries with loader only [`7964b34`](https://github.com/neutrinojs/webpack-chain/commit/7964b347ed613c7dc18e54f912467abad2956b8b)
|
293 |
|
294 | #### [v1.0.2](https://github.com/neutrinojs/webpack-chain/compare/v1.0.1...v1.0.2)
|
295 |
|
296 | > 9 February 2017
|
297 |
|
298 | - Fixes plugin methods not chaining [`7cc56ed`](https://github.com/neutrinojs/webpack-chain/commit/7cc56ed5e331c7cc0ccd58f25feb3b1b0398829a)
|
299 |
|
300 | #### [v1.0.1](https://github.com/neutrinojs/webpack-chain/compare/v1.0.0...v1.0.1)
|
301 |
|
302 | > 9 February 2017
|
303 |
|
304 | - Shared configuration documentation [`5c6a65b`](https://github.com/neutrinojs/webpack-chain/commit/5c6a65b344113ff3522d5f7d66dfacbc0ad7fa69)
|
305 | - Avoid exceptions in empty config [`ab46ee0`](https://github.com/neutrinojs/webpack-chain/commit/ab46ee0234a04eb2b89190df32ea4287c499dd39)
|
306 |
|
307 | #### v1.0.0
|
308 |
|
309 | > 6 February 2017
|
310 |
|
311 | - initial commit [`9e2a87c`](https://github.com/neutrinojs/webpack-chain/commit/9e2a87c5f6a1f1aac3eedbd4102e40dc47a8f7f4)
|