svelte-motion
Version:
Svelte animation library based on the React library framer-motion.
22 lines (17 loc) • 374 B
JavaScript
const fix = ()=>{
try{
if (!process.env){
process.env={};
}
return true;;
}catch(e){}
if (!window || (window.process && window.process.env)){
return false;
}
if (!window.process){
window.process={}
}
window.process.env={};
return true;
}
export const fixed = fix();