Skip to content

Commit 80289fb

Browse files
Remove Rollup warning suppression
1 parent 144c5a7 commit 80289fb

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

rollup.config.mjs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,6 @@ import preserveDirectives from 'rollup-plugin-preserve-directives';
1010
import tsBuildConfig from './bundle-base.tsconfig.json' with { type: 'json' };
1111
import packageJson from './package.json' with { type: 'json' };
1212

13-
// suppresses warnings printed to console as part of bundling components with directives present.
14-
const onWarnSuppression = {
15-
onwarn(warning, warn) {
16-
if (warning.code === 'MODULE_LEVEL_DIRECTIVE' && warning.message.includes(`"use client"`)) {
17-
return;
18-
}
19-
warn(warning);
20-
},
21-
};
22-
2313
const commonPlugins = [external(), tsPaths(), resolve(), commonjs()];
2414

2515
export default [

0 commit comments

Comments
 (0)