Skip to content

Commit 1d7065a

Browse files
committed
also error on svelte/internal
1 parent 2afafea commit 1d7065a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/2-analyze/validation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ function ensure_no_module_import_conflict(node, state) {
906906
*/
907907
export const validation_runes_js = {
908908
ImportDeclaration(node) {
909-
if (typeof node.source.value === 'string' && node.source.value.startsWith('svelte/internal/')) {
909+
if (typeof node.source.value === 'string' && node.source.value.startsWith('svelte/internal')) {
910910
e.import_svelte_internal_forbidden(node);
911911
}
912912
},

0 commit comments

Comments
 (0)