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