UNPKG

vite-plugin-cesium-build

Version:
36 lines (34 loc) 990 B
interface BuildCesiumOptions { /** * Specifies the location of the Cesium package folder * * @default 'node_modules/cesium/Build/Cesium' */ from: string; /** * Specifies the location of the built resources * * @default 'cesium-package' */ to: string; /** * If `true`, you need to manually set the `CESIUM_BASE_URL`. Or you can directly set the custom Cesium base URL. * * @default false */ customCesiumBaseUrl: boolean | string; /** * If `true`, cesium's css will be added automatically. * * @default false */ css: boolean; /** * If `true`, using IIFE to skip building `Cesium.js`. If `false`, do not handle `Cesium.js`. * * @default true */ iife: boolean; } declare function resolveOptions(userOptions: Partial<BuildCesiumOptions> | undefined, defaultFrom: string): BuildCesiumOptions; export { type BuildCesiumOptions as B, resolveOptions as r };