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 5646319 commit 709dc40Copy full SHA for 709dc40
adex/src/vite.js
@@ -165,7 +165,11 @@ function adexClientBuilder({ islands = false } = {}) {
165
generateBundle(opts, bundle) {
166
let clientEntryPath
167
for (const key in bundle) {
168
- if (bundle[key].name == '_virtual_adex_client') {
+ if (
169
+ ['_virtual_adex_client', '_app'].includes(bundle[key].name) &&
170
+ 'isEntry' in bundle[key] &&
171
+ bundle[key].isEntry
172
+ ) {
173
clientEntryPath = key
174
}
175
0 commit comments