Skip to content

Commit 41be108

Browse files
committed
improve further
1 parent 1cb7253 commit 41be108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev-packages/rollup-utils/plugins/npmPlugins.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export function makeDebugBuildStatementReplacePlugin() {
126126
}
127127

128128
export function makeProductionReplacePlugin() {
129-
const pattern = /\/\* rollup-include-development-only \*\/[\s\S]*?\/\* end-rollup-include-development-only \*\//g;
129+
const pattern = /\/\* rollup-include-development-only \*\/[\s\S]*?\/\* rollup-include-development-only-end \*\/\s*/g;
130130

131131
function stripDevBlocks(code) {
132132
if (!code) return null;

0 commit comments

Comments
 (0)