@drincs/pixi-vn
Version:
Pixi'VN is a npm package that provides various features for creating visual novels.
1 lines • 505 B
JavaScript
var i;(t=>(t.log=(r,...n)=>console.log(`[Pixi\u2019VN] ${r}`,...n),t.warn=(r,...n)=>console.warn(`[Pixi\u2019VN] ${r}`,...n),t.error=(r,...n)=>console.error(`[Pixi\u2019VN] ${r}`,...n),t.info=(r,...n)=>console.info(`[Pixi\u2019VN] ${r}`,...n)))(i||={});function s(o){try{if(typeof o>"u")return o;let e=JSON.stringify(o);return JSON.parse(e)}catch(e){throw i.error("Error creating exportable element",o,e),new Error("[Pixi\u2019VN] Error creating exportable element")}}export{s as createExportableElement};