oklas/react-app-alias

BREAKING CHANGE: rename `alias()` to `aliasWebpack()`

oklas opened this issue · 1 comments

oklas commented

Rewire interface is typically uses two alias functions:

module.exports = alias(aliasMap)
module.exports.jest = aliasJest(aliasMap)

Switch to another name of library is a good time to increase readability of rewire API, and make more correct to understand, so:

- module.exports = alias(aliasMap)
+ module.exports = aliasWebpack(aliasMap)
  module.exports.jest = aliasJest(aliasMap)
oklas commented

Closed in #61