We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 249d4be commit 3dae7cfCopy full SHA for 3dae7cf
test/integration/production/test/index.test.js
@@ -73,7 +73,8 @@ describe('Production Usage', () => {
73
resources.push(`${url}static/${buildId}/pages/index.js`)
74
75
// test dynamic chunk
76
- resources.push(url + reactLoadableManifest['../../components/hello1'][0].publicPath)
+ const file = Object.keys(reactLoadableManifest).find((i) => i.indexOf('components/hello1') !== -1)
77
+ resources.push(url + reactLoadableManifest[file][0].publicPath)
78
79
// test main.js runtime etc
80
for (const item of buildManifest.pages['/']) {
0 commit comments