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 e72bc89 commit 83b3890Copy full SHA for 83b3890
dev-packages/rollup-utils/plugins/npmPlugins.mjs
@@ -130,7 +130,7 @@ export function makeProductionReplacePlugin() {
130
131
function stripDevBlocks(code) {
132
if (!code) return null;
133
- if (!pattern.test(code)) return null;
+ if (!code.includes('rollup-include-development-only')) return null;
134
const replaced = code.replace(pattern, '');
135
return { code: replaced, map: null };
136
}
0 commit comments