Files
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00

10 lines
448 B
JavaScript

/**
* "@pterodactyl/sdk" is provided BY THE PANEL at runtime through its import map -
* extension bundles must treat it as external (the vite preset does this for you).
* If this file executes, the SDK was bundled into an extension by mistake.
*/
throw new Error(
'@pterodactyl/sdk is resolved at runtime by the panel import map. ' +
'Build your extension with the preset from "@pterodactyl/sdk/vite" so the SDK stays external.'
);