From e165b3bdabf8a0082387060df89a1726a3056e0a Mon Sep 17 00:00:00 2001 From: Ahad Birang Date: Thu, 23 Jun 2022 13:29:14 +0200 Subject: [PATCH] fix(isPublicAssetURL): assets should treat as public (#312) --- src/rollup/plugins/public-assets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rollup/plugins/public-assets.ts b/src/rollup/plugins/public-assets.ts index 01a0d62038..2c001492ca 100644 --- a/src/rollup/plugins/public-assets.ts +++ b/src/rollup/plugins/public-assets.ts @@ -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 }