diff --git a/CHANGELOG.md b/CHANGELOG.md index 82b9281..8ea0d74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,3 +2,6 @@ ## 1.0.0: * Initial release with demo + +## 1.0.1: +* Adding lib dist build process to fix importing/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1cf6ca4..cea699c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -47,7 +47,9 @@ $ npm run lint ## NPM commands * `npm start` starts the webpack dev server for the demo -* `npm run build` builds the `demo/dist` with webpack +* `npm run build:lib` builds the `lib/dist` with webpack +* `npm run build:demo` builds the `demo/dist` with webpack +* `npm run build` builds both * `npm run lint` runs ESLint checks against the source * `npm run test` runs Tape test suite * `npm run publish` publishes to GH Pages diff --git a/demo/dist/main.js b/demo/dist/main.js index bebdb93..2347dfc 100644 --- a/demo/dist/main.js +++ b/demo/dist/main.js @@ -1,6 +1,6 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/",t(0)}([function(e,t,n){e.exports=n(131)},function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,u){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,u],c=0;s=new Error(t.replace(/%s/g,function(){return l[c++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}e.exports=r},function(e,t){"use strict";function n(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r1){for(var v=Array(m),g=0;g1){for(var b=Array(y),C=0;C]/;e.exports=r},function(e,t,n){"use strict";var r,o=n(6),i=n(66),a=/^[ \r\n\t\f]/,u=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,s=n(76),l=s(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild.childNodes,o=0;o";for(t.style.display="none",n(155).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("