Skip to content

Commit

Permalink
fix(isPublicAssetURL): assets should treat as public (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz authored Jun 23, 2022
1 parent d4efc4b commit e165b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rollup/plugins/public-assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const publicAssetBases = ${JSON.stringify(publicAssetBases)}
export function isPublicAssetURL(id = '') {
if (assets[id]) {
return
return true
}
for (const base of publicAssetBases) {
if (id.startsWith(base)) { return true }
Expand Down

0 comments on commit e165b3b

Please sign in to comment.