Skip to content

Commit 250441a

Browse files
fix: reduce visibility of const
1 parent 8356e0f commit 250441a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ export const IS_COMMON_JS = typeof module !== 'undefined'
77

88
export const isSvelte3 = (version = SvelteCompiler.VERSION) => version.startsWith('3')
99

10-
export const DEFAULT_SVELTE_MODULE_INFIX = ['.svelte.']
10+
const DEFAULT_SVELTE_MODULE_INFIX = ['.svelte.']
1111

12-
export const DEFAULT_SVELTE_MODULE_EXT = ['.js', '.ts']
12+
const DEFAULT_SVELTE_MODULE_EXT = ['.js', '.ts']
1313

1414
export const isSvelteModule = (filename) =>
1515
typeof SvelteCompiler.compileModule === 'function' &&

0 commit comments

Comments
 (0)