From 79282f85728646dc220b89d42b468ad51ec7538d Mon Sep 17 00:00:00 2001 From: howard Date: Sun, 28 Mar 2021 16:25:57 -0700 Subject: [PATCH] code split --- .gitignore | 2 +- dist/index.bundle.js | 2 -- dist/index.bundle.js.LICENSE.txt | 41 -------------------------------- dist/index.html | 8 +++---- dist/redux.bundle.js | 1 - dist/renderer.bundle.js | 1 - src/Renderer.js | 1 + src/redux.js | 28 +++++++++++----------- webpack.common.js | 2 +- 9 files changed, 20 insertions(+), 66 deletions(-) delete mode 100644 dist/index.bundle.js delete mode 100644 dist/index.bundle.js.LICENSE.txt delete mode 100644 dist/redux.bundle.js delete mode 100644 dist/renderer.bundle.js diff --git a/.gitignore b/.gitignore index f13da9c..b7a81e8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ node_modules/ -dist/bundle.js* \ No newline at end of file +dist/*bundle.js* \ No newline at end of file diff --git a/dist/index.bundle.js b/dist/index.bundle.js deleted file mode 100644 index 02972ab..0000000 --- a/dist/index.bundle.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see index.bundle.js.LICENSE.txt */ -(()=>{var e={991:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(645),l=n.n(r)()((function(e){return e[1]}));l.push([e.id,".buttons-group{position:absolute;left:0;display:flex;flex-direction:column}.feature-tree{color:red;position:absolute;right:0}",""]);const a=l},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var l={};if(r)for(var a=0;a{"use strict";var r=n(864),l={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function i(e){return r.isMemo(e)?o:u[e.$$typeof]||l}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=o;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var l=p(n);l&&l!==h&&e(t,l,r)}var o=c(n);f&&(o=o.concat(f(n)));for(var u=i(t),m=i(n),v=0;v{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function l(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,a){for(var o,u,i=l(e),s=1;s{"use strict";var r=n(414);function l(){}function a(){}a.resetWarningCache=l,e.exports=function(){function e(e,t,n,l,a,o){if(o!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:l};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},448:(e,t,n)=>{"use strict";var r=n(294),l=n(418),a=n(840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n