Skip to content

Commit

Permalink
Merge branch 'master' of github.com:react-atomic/reshow
Browse files Browse the repository at this point in the history
  • Loading branch information
HillLiu committed Jan 28, 2020
2 parents 96d0a18 + c28b9fc commit 8b81b31
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/reshow-app/package.json.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reshow-app",
"version": "0.13.0-beta.19",
"version": "0.13.0-beta.20",
"description": "Reshow App Files",
"repository": "react-atomic/reshow",
"keywords": [],
Expand Down
11 changes: 7 additions & 4 deletions packages/reshow-app/src/webpack/getResolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ const getResolve = ({confs, root, moduleAlias}) => {
...reshowRuntimeAlias(root),
...confs.alias,
};

const results = {
extensions: ['.mjs', '.js', '.jsx'],
};
if (moduleAlias) {
moduleAlias.addAliases(alias);
} else {
results.alias = alias;
}
return {
extensions: ['.mjs', '.js', '.jsx'],
alias,
};
return results;
};

const getResolveLoader = ({root}) => ({
Expand Down

0 comments on commit 8b81b31

Please sign in to comment.