Last active
January 27, 2020 19:44
-
-
Save developit/078bb85420b4a47828f303f9929495d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var t,e,n,r,o,u,i,l={},c=[],_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function a(t,e){for(var n in e)t[n]=e[n];return t}function s(t){var e=t.parentNode;e&&e.removeChild(t)}function f(t,e,n){var r,o=arguments,u={};for(r in e)"key"!==r&&"ref"!==r&&(u[r]=e[r]);if(arguments.length>3)for(n=[n],r=3;r<arguments.length;r++)n.push(o[r]);if(null!=n&&(u.children=n),"function"==typeof t&&null!=t.defaultProps)for(r in t.defaultProps)void 0===u[r]&&(u[r]=t.defaultProps[r]);return p(t,u,e&&e.key,e&&e.ref)}function p(e,n,r,o){var u={type:e,props:n,key:r,ref:o,__k:null,__:null,__b:0,__e:null,__d:null,__c:null,constructor:void 0};return t.vnode&&t.vnode(u),u}function h(){return{}}function d(t){return t.children}function v(t,e){this.props=t,this.context=e}function m(t,e){if(null==e)return t.__?m(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?m(t):null}function y(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return y(t)}}function g(e){(!e.__d&&(e.__d=!0)&&1===n.push(e)||o!==t.debounceRendering)&&((o=t.debounceRendering)||r)(k)}function k(){var t,e,r,o,u,i,l;for(n.sort(function(t,e){return e.__v.__b-t.__v.__b});t=n.pop();)t.__d&&(r=void 0,o=void 0,i=(u=(e=t).__v).__e,(l=e.__P)&&(r=[],o=E(l,u,a({},u),e.__n,void 0!==l.ownerSVGElement,null,r,null==i?m(u):i),S(r,u),o!=i&&y(u)))}function b(t,e,n,r,o,u,i,_,a){var f,p,h,d,v,y,g,k=n&&n.__k||c,b=k.length;if(_==l&&(_=null!=u?u[0]:b?m(n,0):null),f=0,e.__k=C(e.__k,function(n){if(null!=n){if(n.__=e,n.__b=e.__b+1,null===(h=k[f])||h&&n.key==h.key&&n.type===h.type)k[f]=void 0;else for(p=0;p<b;p++){if((h=k[p])&&n.key==h.key&&n.type===h.type){k[p]=void 0;break}h=null}if(d=E(t,n,h=h||l,r,o,u,i,_,a),(p=n.ref)&&h.ref!=p&&(g||(g=[]),h.ref&&g.push(h.ref,null,n),g.push(p,n.__c||d,n)),null!=d){if(null==y&&(y=d),null!=n.__d)d=n.__d,n.__d=null;else if(u==h||d!=_||null==d.parentNode){t:if(null==_||_.parentNode!==t)t.appendChild(d);else{for(v=_,p=0;(v=v.nextSibling)&&p<b;p+=2)if(v==d)break t;t.insertBefore(d,_)}"option"==e.type&&(t.value="")}_=d.nextSibling,"function"==typeof e.type&&(e.__d=d)}}return f++,n}),e.__e=y,null!=u&&"function"!=typeof e.type)for(f=u.length;f--;)null!=u[f]&&s(u[f]);for(f=b;f--;)null!=k[f]&&D(k[f],k[f]);if(g)for(f=0;f<g.length;f++)A(g[f],g[++f],g[++f])}function C(t,e,n){if(null==n&&(n=[]),null==t||"boolean"==typeof t)e&&n.push(e(null));else if(Array.isArray(t))for(var r=0;r<t.length;r++)C(t[r],e,n);else n.push(e?e("string"==typeof t||"number"==typeof t?p(null,t,null,null):null!=t.__e||null!=t.__c?p(t.type,t.props,t.key,null):t):t);return n}function x(t,e,n){"-"===e[0]?t.setProperty(e,n):t[e]="number"==typeof n&&!1===_.test(e)?n+"px":null==n?"":n}function w(t,e,n,r,o){var u,i,l,c,_;if(o?"className"===e&&(e="class"):"class"===e&&(e="className"),"key"===e||"children"===e);else if("style"===e)if(u=t.style,"string"==typeof n)u.cssText=n;else{if("string"==typeof r&&(u.cssText="",r=null),r)for(i in r)n&&i in n||x(u,i,"");if(n)for(l in n)r&&n[l]===r[l]||x(u,l,n[l])}else"o"===e[0]&&"n"===e[1]?(c=e!==(e=e.replace(/Capture$/,"")),_=e.toLowerCase(),e=(_ in t?_:e).slice(2),n?(r||t.addEventListener(e,U,c),(t.l||(t.l={}))[e]=n):t.removeEventListener(e,U,c)):"list"!==e&&"tagName"!==e&&"form"!==e&&"type"!==e&&!o&&e in t?t[e]=null==n?"":n:"function"!=typeof n&&"dangerouslySetInnerHTML"!==e&&(e!==(e=e.replace(/^xlink:?/,""))?null==n||!1===n?t.removeAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase()):t.setAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase(),n):null==n||!1===n?t.removeAttribute(e):t.setAttribute(e,n))}function U(e){this.l[e.type](t.event?t.event(e):e)}function E(e,n,r,o,u,i,l,c,_){var s,f,p,h,m,y,g,k,x,w,U=n.type;if(void 0!==n.constructor)return null;(s=t.__b)&&s(n);try{t:if("function"==typeof U){if(k=n.props,x=(s=U.contextType)&&o[s.__c],w=s?x?x.props.value:s.__:o,r.__c?g=(f=n.__c=r.__c).__=f.__E:("prototype"in U&&U.prototype.render?n.__c=f=new U(k,w):(n.__c=f=new v(k,w),f.constructor=U,f.render=T),x&&x.sub(f),f.props=k,f.state||(f.state={}),f.context=w,f.__n=o,p=f.__d=!0,f.__h=[]),null==f.__s&&(f.__s=f.state),null!=U.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=a({},f.__s)),a(f.__s,U.getDerivedStateFromProps(k,f.__s))),h=f.props,m=f.state,p)null==U.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==U.getDerivedStateFromProps&&k!==h&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(k,w),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(k,f.__s,w)){for(f.props=k,f.state=f.__s,f.__d=!1,f.__v=n,n.__e=r.__e,n.__k=r.__k,f.__h.length&&l.push(f),s=0;s<n.__k.length;s++)n.__k[s]&&(n.__k[s].__=n);break t}null!=f.componentWillUpdate&&f.componentWillUpdate(k,f.__s,w),null!=f.componentDidUpdate&&f.__h.push(function(){f.componentDidUpdate(h,m,y)})}f.context=w,f.props=k,f.state=f.__s,(s=t.__r)&&s(n),f.__d=!1,f.__v=n,f.__P=e,s=f.render(f.props,f.state,f.context),n.__k=C(null!=s&&s.type==d&&null==s.key?s.props.children:s),null!=f.getChildContext&&(o=a(a({},o),f.getChildContext())),p||null==f.getSnapshotBeforeUpdate||(y=f.getSnapshotBeforeUpdate(h,m)),b(e,n,r,o,u,i,l,c,_),f.base=n.__e,f.__h.length&&l.push(f),g&&(f.__E=f.__=null),f.__e=null}else n.__e=P(r.__e,n,r,o,u,i,l,_);(s=t.diffed)&&s(n)}catch(e){t.__e(e,n,r)}return n.__e}function S(e,n){t.__c&&t.__c(n,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(t){t.call(n)})}catch(e){t.__e(e,n.__v)}})}function P(t,e,n,r,o,u,i,_){var a,s,f,p,h,d=n.props,v=e.props;if(o="svg"===e.type||o,null==t&&null!=u)for(a=0;a<u.length;a++)if(null!=(s=u[a])&&(null===e.type?3===s.nodeType:s.localName===e.type)){t=s,u[a]=null;break}if(null==t){if(null===e.type)return document.createTextNode(v);t=o?document.createElementNS("http://www.w3.org/2000/svg",e.type):document.createElement(e.type),u=null}if(null===e.type)null!=u&&(u[u.indexOf(t)]=null),d!==v&&t.data!=v&&(t.data=v);else if(e!==n){if(null!=u&&(u=c.slice.call(t.childNodes)),f=(d=n.props||l).dangerouslySetInnerHTML,p=v.dangerouslySetInnerHTML,!_){if(d===l)for(d={},h=0;h<t.attributes.length;h++)d[t.attributes[h].name]=t.attributes[h].value;(p||f)&&(p&&f&&p.__html==f.__html||(t.innerHTML=p&&p.__html||""))}(function(t,e,n,r,o){var u;for(u in n)u in e||w(t,u,null,n[u],r);for(u in e)o&&"function"!=typeof e[u]||"value"===u||"checked"===u||n[u]===e[u]||w(t,u,e[u],n[u],r)})(t,v,d,o,_),e.__k=e.props.children,p||b(t,e,n,r,"foreignObject"!==e.type&&o,u,i,l,_),_||("value"in v&&void 0!==v.value&&v.value!==t.value&&(t.value=null==v.value?"":v.value),"checked"in v&&void 0!==v.checked&&v.checked!==t.checked&&(t.checked=v.checked))}return t}function A(e,n,r){try{"function"==typeof e?e(n):e.current=n}catch(e){t.__e(e,r)}}function D(e,n,r){var o,u,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||A(o,null,n)),r||"function"==typeof e.type||(r=null!=(u=e.__e)),e.__e=e.__d=null,null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){t.__e(e,n)}o.base=o.__P=null}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&D(o[i],n,r);null!=u&&s(u)}function T(t,e,n){return this.constructor(t,n)}function H(e,n,r){var o,i,_;t.__&&t.__(e,n),i=(o=r===u)?null:r&&r.__k||n.__k,e=f(d,null,[e]),_=[],E(n,(o?n:r||n).__k=e,i||l,l,void 0!==n.ownerSVGElement,r&&!o?[r]:i?null:c.slice.call(n.childNodes),_,r||l,o),S(_,e)}function M(t,e){H(t,e,u)}function L(t,e){return e=a(a({},t.props),e),arguments.length>2&&(e.children=c.slice.call(arguments,2)),p(t.type,e,e.key||t.key,e.ref||t.ref)}function R(t){var e={},n={__c:"__cC"+i++,__:t,Consumer:function(t,e){return t.children(e)},Provider:function(t){var r,o=this;return this.getChildContext||(r=[],this.getChildContext=function(){return e[n.__c]=o,e},this.shouldComponentUpdate=function(e){t.value!==e.value&&r.some(function(t){t.context=e.value,g(t)})},this.sub=function(t){r.push(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){r.splice(r.indexOf(t),1),e&&e.call(t)}}),t.children}};return n.Consumer.contextType=n,n}t={__e:function(t,e){for(var n,r;e=e.__;)if((n=e.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError&&(r=!0,n.setState(n.constructor.getDerivedStateFromError(t))),null!=n.componentDidCatch&&(r=!0,n.componentDidCatch(t)),r)return g(n.__E=n)}catch(e){t=e}throw t}},e=function(t){return null!=t&&void 0===t.constructor},v.prototype.setState=function(t,e){var n;n=this.__s!==this.state?this.__s:this.__s=a({},this.state),"function"==typeof t&&(t=t(n,this.props)),t&&a(n,t),null!=t&&this.__v&&(this.__e=!1,e&&this.__h.push(e),g(this))},v.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),g(this))},v.prototype.render=d,n=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=l,i=0;var N,W,F,O=[],I=t.__r,K=t.diffed,$=t.__c,j=t.unmount;function V(e){t.__h&&t.__h(W);var n=W.__H||(W.__H={t:[],u:[]});return e>=n.t.length&&n.t.push({}),n.t[e]}function B(t){return q(it,t)}function q(t,e,n){var r=V(N++);return r.__c||(r.__c=W,r.i=[n?n(e):it(void 0,e),function(e){var n=t(r.i[0],e);r.i[0]!==n&&(r.i[0]=n,r.__c.setState({}))}]),r.i}function G(t,e){var n=V(N++);ut(n.o,e)&&(n.i=t,n.o=e,W.__H.u.push(n))}function z(t,e){var n=V(N++);ut(n.o,e)&&(n.i=t,n.o=e,W.__h.push(n))}function J(t){return X(function(){return{current:t}},[])}function Q(t,e,n){z(function(){"function"==typeof t?t(e()):t&&(t.current=e())},null==n?n:n.concat(t))}function X(t,e){var n=V(N++);return ut(n.o,e)?(n.o=e,n.v=t,n.i=t()):n.i}function Y(t,e){return X(function(){return t},e)}function Z(t){var e=W.context[t.__c];if(!e)return t.__;var n=V(N++);return null==n.i&&(n.i=!0,e.sub(W)),e.props.value}function tt(e,n){t.useDebugValue&&t.useDebugValue(n?n(e):e)}function et(t){var e=V(N++),n=B();return e.i=t,W.componentDidCatch||(W.componentDidCatch=function(t){e.i&&e.i(t),n[1](t)}),[n[0],function(){n[1](void 0)}]}function nt(){O.some(function(t){t.__P&&(t.__H.u.forEach(rt),t.__H.u.forEach(ot),t.__H.u=[])}),O=[]}function rt(t){t.m&&t.m()}function ot(t){var e=t.i();"function"==typeof e&&(t.m=e)}function ut(t,e){return!t||e.some(function(e,n){return e!==t[n]})}function it(t,e){return"function"==typeof e?e(t):e}t.__r=function(t){I&&I(t),N=0,(W=t.__c).__H&&(W.__H.u.forEach(rt),W.__H.u.forEach(ot),W.__H.u=[])},t.diffed=function(e){K&&K(e);var n=e.__c;if(n){var r=n.__H;r&&r.u.length&&(1!==O.push(n)&&F===t.requestAnimationFrame||((F=t.requestAnimationFrame)||function(t){var e,n=function(){clearTimeout(r),cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);"undefined"!=typeof window&&(e=requestAnimationFrame(n))})(nt))}},t.__c=function(t,e){e.some(function(t){t.__h.forEach(rt),t.__h=t.__h.filter(function(t){return!t.i||ot(t)})}),$&&$(t,e)},t.unmount=function(t){j&&j(t);var e=t.__c;if(e){var n=e.__H;n&&n.t.forEach(function(t){return t.m&&t.m()})}};var lt=function(t,e,n,r){var o;e[0]=0;for(var u=1;u<e.length;u++){var i=e[u++],l=e[u]?(e[0]|=i?1:2,n[e[u++]]):e[++u];3===i?r[0]=l:4===i?r[1]=Object.assign(r[1]||{},l):5===i?(r[1]=r[1]||{})[e[++u]]=l:6===i?r[1][e[++u]]+=l+"":i?(o=t.apply(l,lt(t,l,n,["",null])),r.push(o),l[0]?e[0]|=2:(e[u-2]=0,e[u]=o)):r.push(l)}return r},ct=new Map,_t=function(t){var e=ct.get(this);return e||(e=new Map,ct.set(this,e)),(e=lt(this,e.get(t)||(e.set(t,e=function(t){for(var e,n,r=1,o="",u="",i=[0],l=function(t){1===r&&(t||(o=o.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?i.push(0,t,o):3===r&&(t||o)?(i.push(3,t,o),r=2):2===r&&"..."===o&&t?i.push(4,t,0):2===r&&o&&!t?i.push(5,0,!0,o):r>=5&&((o||!t&&5===r)&&(i.push(r,0,o,n),r=6),t&&(i.push(r,t,0,n),r=6)),o=""},c=0;c<t.length;c++){c&&(1===r&&l(),l(c));for(var _=0;_<t[c].length;_++)e=t[c][_],1===r?"<"===e?(l(),i=[i],r=3):o+=e:4===r?"--"===o&&">"===e?(r=1,o=""):o=e+o[0]:u?e===u?u="":o+=e:'"'===e||"'"===e?u=e:">"===e?(l(),r=1):r&&("="===e?(r=5,n=o,o=""):"/"===e&&(r<5||">"===t[c][_+1])?(l(),3===r&&(i=i[0]),r=i,(i=i[0]).push(2,0,r),r=0):" "===e||"\t"===e||"\n"===e||"\r"===e?(l(),r=2):o+=e),3===r&&"!--"===o&&(r=4,i=i[0])}return l(),i}(t)),e),arguments,[])).length>1?e:e[0]}.bind(f),at={};function st(t,e){for(var n in e)t[n]=e[n];return t}function ft(t,e,n){var r,o=/(?:\?([^#]*))?(#.*)?$/,u=t.match(o),i={};if(u&&u[1])for(var l=u[1].split("&"),c=0;c<l.length;c++){var _=l[c].split("=");i[decodeURIComponent(_[0])]=decodeURIComponent(_.slice(1).join("="))}t=dt(t.replace(o,"")),e=dt(e||"");for(var a=Math.max(t.length,e.length),s=0;s<a;s++)if(e[s]&&":"===e[s].charAt(0)){var f=e[s].replace(/(^:|[+*?]+$)/g,""),p=(e[s].match(/[+*?]+$/)||at)[0]||"",h=~p.indexOf("+"),d=~p.indexOf("*"),v=t[s]||"";if(!v&&!d&&(p.indexOf("?")<0||h)){r=!1;break}if(i[f]=decodeURIComponent(v),h||d){i[f]=t.slice(s).map(decodeURIComponent).join("/");break}}else if(e[s]!==t[s]){r=!1;break}return(!0===n.default||!1!==r)&&i}function pt(t,e){return t.rank<e.rank?1:t.rank>e.rank?-1:t.index-e.index}function ht(t,e){return t.index=e,t.rank=function(t){return t.props.default?0:dt(t.props.path).map(vt).join("")}(t),t.props}function dt(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")}function vt(t){return":"==t.charAt(0)?1+"*+?".indexOf(t.charAt(t.length-1))||4:5}var mt=null,yt=[],gt=[],kt={};function bt(){var t;return""+((t=mt&&mt.location?mt.location:mt&&mt.getCurrentLocation?mt.getCurrentLocation():"undefined"!=typeof location?location:kt).pathname||"")+(t.search||"")}function Ct(t,e){return void 0===e&&(e=!1),"string"!=typeof t&&t.url&&(e=t.replace,t=t.url),function(t){for(var e=yt.length;e--;)if(yt[e].canRoute(t))return!0;return!1}(t)&&function(t,e){void 0===e&&(e="push"),mt&&mt[e]?mt[e](t):"undefined"!=typeof history&&history[e+"State"]&&history[e+"State"](null,null,t)}(t,e?"replace":"push"),xt(t)}function xt(t){for(var e=!1,n=0;n<yt.length;n++)!0===yt[n].routeTo(t)&&(e=!0);for(var r=gt.length;r--;)gt[r](t);return e}function wt(t){if(t&&t.getAttribute){var e=t.getAttribute("href"),n=t.getAttribute("target");if(e&&e.match(/^\//g)&&(!n||n.match(/^_?self$/i)))return Ct(e)}}function Ut(t){if(!(t.ctrlKey||t.metaKey||t.altKey||t.shiftKey||0!==t.button))return wt(t.currentTarget||t.target||this),Et(t)}function Et(t){return t&&(t.stopImmediatePropagation&&t.stopImmediatePropagation(),t.stopPropagation&&t.stopPropagation(),t.preventDefault()),!1}function St(t){if(!(t.ctrlKey||t.metaKey||t.altKey||t.shiftKey||0!==t.button)){var e=t.target;do{if("A"===String(e.nodeName).toUpperCase()&&e.getAttribute("href")){if(e.hasAttribute("native"))return;if(wt(e))return Et(t)}}while(e=e.parentNode)}}var Pt=!1,At=function(t){function e(e){t.call(this,e),e.history&&(mt=e.history),this.state={url:e.url||bt()},Pt||("function"==typeof addEventListener&&(mt||addEventListener("popstate",function(){xt(bt())}),addEventListener("click",St)),Pt=!0)}return t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e,e.prototype.shouldComponentUpdate=function(t){return!0!==t.static||t.url!==this.props.url||t.onChange!==this.props.onChange},e.prototype.canRoute=function(t){var e=C(this.props.children);return this.getMatchingChildren(e,t,!1).length>0},e.prototype.routeTo=function(t){this.setState({url:t});var e=this.canRoute(t);return this.updating||this.forceUpdate(),e},e.prototype.componentWillMount=function(){yt.push(this),this.updating=!0},e.prototype.componentDidMount=function(){var t=this;mt&&(this.unlisten=mt.listen(function(e){t.routeTo(""+(e.pathname||"")+(e.search||""))})),this.updating=!1},e.prototype.componentWillUnmount=function(){"function"==typeof this.unlisten&&this.unlisten(),yt.splice(yt.indexOf(this),1)},e.prototype.componentWillUpdate=function(){this.updating=!0},e.prototype.componentDidUpdate=function(){this.updating=!1},e.prototype.getMatchingChildren=function(t,e,n){return t.filter(ht).sort(pt).map(function(t){var r=ft(e,t.props.path,t.props);if(r){if(!1!==n){var o={url:e,matches:r};return st(o,r),delete o.ref,delete o.key,L(t,o)}return t}}).filter(Boolean)},e.prototype.render=function(t,e){var n=t.onChange,r=e.url,o=this.getMatchingChildren(C(t.children),r,!0),u=o[0]||null,i=this.previousUrl;return r!==i&&(this.previousUrl=r,"function"==typeof n&&n({router:this,url:r,previous:i,active:o,current:u})),u},e}(v);At.subscribers=gt,At.getCurrentUrl=bt,At.route=Ct,At.Router=At,At.Route=function(t){return f(t.component,t)},At.Link=function(t){return f("a",st({onClick:Ut},t))},At.exec=ft;export{v as Component,d as Fragment,At as Router,D as _unmount,L as cloneElement,R as createContext,f as createElement,h as createRef,f as h,_t as html,M as hydrate,e as isValidElement,t as options,H as render,C as toChildArray,Y as useCallback,Z as useContext,tt as useDebugValue,G as useEffect,et as useErrorBoundary,Q as useImperativeHandle,z as useLayoutEffect,X as useMemo,q as useReducer,J as useRef,B as useState}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export * from 'preact'; | |
export * from 'preact/hooks'; | |
export * from 'htm/preact'; | |
export { Router } from 'preact-router'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "htm-preact-router", | |
"module": "htm-preact-router.bundle.js", | |
"scripts": { | |
"postinstall": "microbundle -f es lib.js -o . --external none --no-sourcemap" | |
}, | |
"dependencies": { | |
"htm": "^3.0.1", | |
"preact": "^10.2.1", | |
"preact-router": "^3.2.1" | |
}, | |
"devDependencies": { | |
"microbundle": "^0.12.0-next.8" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment