Skip to content

Commit bd2fb00

Browse files
author
Loïc Mangeonjean
committed
fix: fix audioCue mp3 files loading
1 parent 1109f93 commit bd2fb00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup/rollup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ export default (args: Record<string, string>): rollup.RollupOptions[] => {
696696
})
697697
return { file, ref }
698698
}))
699-
return `export default {${fileRefs.map(({ file, ref }) => `\n '${file}': import.meta.ROLLUP_FILE_URL_${ref}`).join(',')}\n}`
699+
return `export default {${fileRefs.map(({ file, ref }) => `\n '${file}': new URL(import.meta.ROLLUP_FILE_URL_${ref}, import.meta.url).href`).join(',')}\n}`
700700
}
701701
}
702702
})(),

0 commit comments

Comments
 (0)