From 43cbc2d977ae04894317cea0aa83308b0f72078d Mon Sep 17 00:00:00 2001 From: huyanhai <810839700@qq.com> Date: Thu, 28 Oct 2021 10:33:34 +0800 Subject: [PATCH] fix: fix render __VP_STATIC_START__ --- src/node/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/plugin.ts b/src/node/plugin.ts index 83a29c05..7199cc3e 100644 --- a/src/node/plugin.ts +++ b/src/node/plugin.ts @@ -13,7 +13,7 @@ import { OutputAsset, OutputChunk } from 'rollup' const hashRE = /\.(\w+)\.js$/ const staticInjectMarkerRE = /\b(const _hoisted_\d+ = \/\*#__PURE__\*\/createStaticVNode)\("(.*)", (\d+)\)/g -const staticStripRE = /__VP_STATIC_START__.*?__VP_STATIC_END__/g +// const staticStripRE = /__VP_STATIC_START__.*?__VP_STATIC_END__/g const staticRestoreRE = /__VP_STATIC_(START|END)__/g // matches client-side js blocks in MPA mode.