Reference · The <wakusei-body> element
TEXTURE_BASEconstant
The default home of the surface pictures: the files of this exact version on jsDelivr. Set texture-base on an element to serve them yourself.
Import it
import { TEXTURE_BASE } from "@johnmorrisdotca/wakusei-planets/element";
Definition
const TEXTURE_BASE: "https://cdn.jsdelivr.net/npm/@johnmorrisdotca/wakusei-planets@0.24.0/dist/textures/" = `https://cdn.jsdelivr.net/npm/@johnmorrisdotca/wakusei-planets@${VERSION}/dist/textures/`
Examples
import { TEXTURE_BASE } from "@johnmorrisdotca/wakusei-planets/element";
console.log(TEXTURE_BASE);