Skip to content

Commit cd891e5

Browse files
committed
fix: remove pure annotation for custom blocks
1 parent cc89de5 commit cd891e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export default function loader(
278278
const query = `?vue&type=custom&index=${i}${blockTypeQuery}${issuerQuery}${attrsQuery}${resourceQuery}`
279279
return (
280280
`import block${i} from ${stringifyRequest(src + query)}\n` +
281-
`if (typeof block${i} === 'function') /*#__PURE__*/block${i}(script)`
281+
`if (typeof block${i} === 'function') block${i}(script)`
282282
)
283283
})
284284
.join(`\n`) + `\n`

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy