We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cb7253 commit 41be108Copy full SHA for 41be108
dev-packages/rollup-utils/plugins/npmPlugins.mjs
@@ -126,7 +126,7 @@ export function makeDebugBuildStatementReplacePlugin() {
126
}
127
128
export function makeProductionReplacePlugin() {
129
- const pattern = /\/\* rollup-include-development-only \*\/[\s\S]*?\/\* end-rollup-include-development-only \*\//g;
+ const pattern = /\/\* rollup-include-development-only \*\/[\s\S]*?\/\* rollup-include-development-only-end \*\/\s*/g;
130
131
function stripDevBlocks(code) {
132
if (!code) return null;
0 commit comments