mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
9 lines
383 B
JavaScript
9 lines
383 B
JavaScript
/**
|
|
* "@pterodactyl/sdk/api" is provided BY THE PANEL at runtime through its import
|
|
* map. Extension bundles must treat it as external (the vite preset does this).
|
|
*/
|
|
throw new Error(
|
|
'@pterodactyl/sdk/api is resolved at runtime by the panel import map. ' +
|
|
'Build your extension with the preset from "@pterodactyl/sdk/vite" so the SDK API runtime stays external.'
|
|
);
|