UNPKG

@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

19 lines (14 loc) 444 B
const { getMeta } = require("../common/config.cjs"); const mod = import("../common/license.js"); module.exports = async function (source, _map) { /** @type {string | undefined} */ let team = undefined; const meta = await getMeta(); if (meta) { team = meta.license?.team; } // console.log("RESOLVE LICENSE..."); return (await mod).replaceLicense(source, { team: team, }); };