All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
3.2.0 (2019-02-11)
3.1.3 (2019-01-21)
3.1.2 (2019-01-16)
3.1.1 (2018-03-24)
3.1.0 (2018-02-08)
- Ability to declare aliases in an array to preserve the order (#243) (d03715d)
- Add stripExtensions option to determine which extensions get removed (#247) (fdf5da9)
- Allow using a function to define the result of an alias (#245) (9299d9a)
- run plugin also on Program exit to handle dynamically added imports from other transforms (#269) (12a2d07)
3.0.0 (2017-11-08)
- Add jest.setMock to the list of transformed jest functions (#225) (a7c04b0)
- Add require.requireActual and require.requireMock to the list of transformed Jest functions (#227) (47fd5ba)
- Make alias config take precedence over root config (#221) (3c711f8)
- This makes alias taking precedence over the root config because it's usually more specific.
3.0.0-beta.5 (2017-08-17)
3.0.0-beta.4 (2017-07-10)
3.0.0-beta.3 (2017-05-16)
3.0.0-beta.2 (2017-05-16)
- package: update pkg-up to version 2.0.0 (#168) (ccba432)
- Fix path resolution when the alias is not a proper sub path (#177) (dcd5dca)
- Add the .mjs extension to the default extensions (#172) (ea9e457)
- Run the plugin in the "enter" phase of the Program (#179) (c4794f9)
3.0.0-beta.0 (2017-04-23)
- Add support for new ES dynamic
import()
(#143) (ad65935) - Convert root to array if root is a string (#153) (2bcea0c), closes #152
- Support 'packagejson' as a custom cwd option (#149) (52600af)
- The "npm:" prefix has been removed.
2.7.0 (2017-03-30)
- Force a 2.7.0 by reverting all changes since 2.5.0 (577afad)
2.6.2 (2017-03-30)
2.6.1 (2017-03-29)
- Fix
regExps.find
undefined error (2171200)
2.6.0 (2017-03-29)
- Add regular expression support (#132) (6d87b25), closes #88 #127
- Handle the "export from" statement (#129) (627b897), closes #128
2.5.0 (2017-02-05)
- Add only directories in a glob root config (#120) (ac87924)
- Remove unnecessary trailing /index in the local path resolution (#117) (ac0c671)
- Add support for jest doMock and dontMock functions (#114) (0bc01ec)
- Export manipulateOptions (85270e1)
- Export the default extensions used by the plugin (1c4fbcc)
2.4.0 (2016-11-30)
- Add support for Jest specific functions (#100) (ffa2c39), closes #97
- Add support for System.import (#101) (06ba4dd), closes #99
2.3.0 (2016-11-06)
- Move the babelrc lookup behind a custom cwd value option (2a8aca5)
2.2.0 (2016-08-27)
- Fix plugin on windows (d6b0a4b)
- Fix the root resolver when both a file and directory have the same name (a4cff68)
2.1.1 (2016-08-22)
2.1.0 (2016-08-19)
2.0.0 (2016-08-14)
- There's a new way to specify alias in the plugin options. See README for more info