Skip to content

Commit eb515c4

Browse files
committed
improve further
1 parent 1cb7253 commit eb515c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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;

packages/browser/src/sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export function init(options: BrowserOptions = {}): Client | undefined {
101101
}
102102
defaultIntegrations.push(spotlightBrowserIntegration());
103103
}
104-
/* end-rollup-include-development-only */
104+
/* rollup-include-development-only-end */
105105

106106
const clientOptions: BrowserClientOptions = {
107107
...options,

0 commit comments

Comments
 (0)