Skip to content

Commit ca32728

Browse files
authored
Merge pull request #3 from usdigitalresponse/kevee/suppress-luxon-circular
feat: suppress luxon messages
2 parents 4cf41c7 + 836bd8f commit ca32728

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rollup-sdk.config.mjs

Lines changed: 9 additions & 0 deletions
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,

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
export { AirtableScriptEnvironment as TestEnvironment } from './environment'
21
export { AirtableScriptEnvironment as default } from './environment'
32

43
import type { AirtableScriptGlobal } from './environment'

0 commit comments

Comments
 (0)