Skip to content

Commit 3c41f73

Browse files
committed
feat: suppress luxon messages
1 parent 4cf41c7 commit 3c41f73

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rollup-sdk.config.mjs

+9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ import typescript from '@rollup/plugin-typescript'
44

55
export default {
66
input: './src/environment/sdk/index.ts',
7+
onwarn(warning, warn) {
8+
if (
9+
warning.code === 'CIRCULAR_DEPENDENCY' &&
10+
warning.ids.some((id) => id.includes('luxon'))
11+
) {
12+
return
13+
}
14+
warn(warning)
15+
},
716
plugins: [
817
typescript({
918
tsconfig: false,

0 commit comments

Comments
 (0)