Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
fix(clientModuleMapCache): set base url for module bundle type (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
JAdshead committed Jun 30, 2020
1 parent 80c5cf2 commit 95ca35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/utils/clientModuleMapCache.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function filterBundles(moduleMap, moduleBundleType) {
{
...acc,
[moduleName]: {
baseUrl: moduleBundles.baseUrl,
baseUrl: moduleBundles[moduleBundleType].url.replace(/[^/]+\.js$/i, ''),
[moduleBundleType]: moduleBundles[moduleBundleType],
},
}
Expand Down

0 comments on commit 95ca35f

Please sign in to comment.