Skip to content

Commit

Permalink
Merge pull request #65 from oklas/fix-64
Browse files Browse the repository at this point in the history
fix(react-app-alias): one rename was missing to stage #64
  • Loading branch information
oklas authored Mar 8, 2022
2 parents 0c8be71 + af77597 commit f70d991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-app-alias/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function aliasMapForJest(aliasMap) {

const CracoAliasPlugin = {
overrideWebpackConfig: function({webpackConfig, pluginOptions}) {
return alias(pluginOptions.alias||configPaths())(webpackConfig)
return aliasWebpack(pluginOptions.alias||configPaths())(webpackConfig)
},
overrideJestConfig: function({jestConfig, pluginOptions}) {
return aliasJest(pluginOptions.alias||configPaths())(jestConfig)
Expand Down

0 comments on commit f70d991

Please sign in to comment.