We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a051e66 commit abb1b57Copy full SHA for abb1b57
src/node/plugin.ts
@@ -11,7 +11,7 @@ import { OutputAsset, OutputChunk } from 'rollup'
11
12
const hashRE = /\.(\w+)\.js$/
13
const staticInjectMarkerRE =
14
- /\b(const _hoisted_\d+ = \/\*#__PURE__\*\/createStaticVNode)\("(.*)", (\d+)\)/g
+ /\b(const _hoisted_\d+ = \/\*(?:#|@)__PURE__\*\/\s*createStaticVNode)\("(.*)", (\d+)\)/g
15
const staticStripRE = /__VP_STATIC_START__.*?__VP_STATIC_END__/g
16
const staticRestoreRE = /__VP_STATIC_(START|END)__/g
17
0 commit comments