* fix: treat client/universal hooks as entrypoints for illegal server import detection
* remove test file
--- /dev/null
+---
+'@sveltejs/kit': patch
+---
+
+fix: treat client/universal hooks as entrypoints for illegal server import detection
if (node.universal) entrypoints.add(node.universal);
}
+ if (manifest_data.hooks.client) entrypoints.add(manifest_data.hooks.client);
+ if (manifest_data.hooks.universal) entrypoints.add(manifest_data.hooks.universal);
+
const normalized = normalize_id(id, normalized_lib, normalized_cwd);
const chain = [normalized];