@needle-tools/engine
Version:
Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.
8 lines (7 loc) • 486 B
TypeScript
/** Provides reasonable defaults for a PWA manifest and workbox settings.
* @param {"build" | "serve"} command
* @param {import("../types/needleConfig").needleMeta | null} config
* @param {import('../types').userSettings} userSettings
* @returns {import('vite').Plugin | undefined}
*/
export function needlePWA(command: "build" | "serve", config: import("../types/needleConfig").needleMeta | null, userSettings: import("../types").userSettings): import("vite").Plugin | undefined;