We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cb4b86 commit a90f06aCopy full SHA for a90f06a
packages/packagers/react-static/src/ReactStaticPackager.js
@@ -392,9 +392,13 @@ async function loadBundleUncached(
392
393
parcelRequire.root = parcelRequire;
394
395
+ let publicUrl = bundle.target.publicUrl;
396
+ if (!publicUrl.endsWith('/')) {
397
+ publicUrl += '/';
398
+ }
399
parcelRequire.meta = {
400
distDir: bundle.target.distDir,
- publicUrl: bundle.target.publicUrl,
401
+ publicUrl,
402
};
403
404
parcelRequire.load = async (filePath: string) => {
0 commit comments