You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/svelte/src/compiler/errors.js
+9-9
Original file line number
Diff line number
Diff line change
@@ -198,6 +198,15 @@ export function host_invalid_placement(node) {
198
198
e(node,"host_invalid_placement","`$host()` can only be used inside custom element component instances");
199
199
}
200
200
201
+
/**
202
+
* Imports of `svelte/internal/*` are forbidden. It contains private runtime code which is subject to change without notice. If you're importing from `svelte/internal/*` to work around a limitation of Svelte, please open an issue at https://github.com/sveltejs/svelte and explain your use case
e(node,"import_svelte_internal_forbidden","Imports of `svelte/internal/*` are forbidden. It contains private runtime code which is subject to change without notice. If you're importing from `svelte/internal/*` to work around a limitation of Svelte, please open an issue at https://github.com/sveltejs/svelte and explain your use case");
208
+
}
209
+
201
210
/**
202
211
* Cannot use `export let` in runes mode — use `$props()` instead
203
212
* @param {null | number | NodeLike} node
@@ -404,15 +413,6 @@ export function store_invalid_subscription(node) {
404
413
e(node,"store_invalid_subscription","Cannot reference store value inside `<script context=\"module\">`");
405
414
}
406
415
407
-
/**
408
-
* Imports of `svelte/internal/*` are forbidden. It contains private runtime code which is subject to change without notice. If you're importing from `svelte/internal/*` to work around a limitation of Svelte, please open an issue at https://github.com/sveltejs/svelte and explain your use case
e(node,"import_svelte_internal_forbidden","Imports of `svelte/internal/*` are forbidden. It contains private runtime code which is subject to change without notice. If you're importing from `svelte/internal/*` to work around a limitation of Svelte, please open an issue at https://github.com/sveltejs/svelte and explain your use case");
0 commit comments