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

+1-1
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)