From d7330e83c8c551f36592c4540d3f36a4d17b6cee Mon Sep 17 00:00:00 2001 From: Ahad Birang Date: Thu, 23 Jun 2022 12:01:23 +0200 Subject: [PATCH] fix: assets should treat as public --- 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 }