{"id":85162,"date":"2020-03-29T00:57:36","date_gmt":"2020-03-28T16:57:36","guid":{"rendered":"http:\/\/4563.org\/?p=85162"},"modified":"2020-03-29T00:57:36","modified_gmt":"2020-03-28T16:57:36","slug":"%e6%9c%89%e5%89%8d%e7%ab%af%e5%a4%a7%e4%bd%ac%e7%94%a8-rollup-%e6%9d%a5-bundle-app-code-%e5%90%97%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=85162","title":{"rendered":"\u6709\u524d\u7aef\u5927\u4f6c\u7528 rollup \u6765 bundle app code \u5417\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6709\u524d\u7aef\u5927\u4f6c\u7528 rollup \u6765 bundle app code \u5417\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : okampfer <\/span>  <span><i><\/i> 10<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6211\u67e5\u5230\u7684 webpack vs rollup \u8d44\u6599\u8bf4\uff0c\u540e\u8005\u66f4\u9002\u5408 bundle library code\uff0c\u4f46\u8bf8\u5982\u8fd9\u7bc7\u6587\u7ae0\u91cc\u4f5c\u8005\u4e5f\u5728\u4f7f\u7528 rollup \u6765 bundle app code \u3002<\/p>\n<p>\u6709\u524d\u7aef\u5927\u4f6c\u7528 rollup \u6765 bundle app code \u5417\uff1f\u5728\u914d\u7f6e\u4f53\u9a8c\u4e0a\u8ddf webpack \u76f8\u6bd4\u6709\u4f55\u5f02\u540c\u5462\uff1f<\/p>\n<p>\u8fd8\u671b\u5404\u4f4d\u524d\u7aef\u5927\u4f6c\u4e0d\u541d\u8d50\u6559\uff0c\u8c22\u8c22\uff01<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>1<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1402226\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : SilentDepth <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Rollup \u662f\u4e00\u4e2a Bundler\uff0cWebpack \u662f\u4e00\u4e2a\u5185\u7f6e Bundler \u7684\u8d44\u6e90\u6784\u5efa\u5f15\u64ce\u2026\u2026\u8bba\u5f00\u53d1\u4f53\u9a8c\uff0cWebpack HMR \u5df2\u7ecf\u8db3\u591f\u79d2\u6740 Rollup \u4e86\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u524d\u7aef\u5927\u4f6c\u7528 rollup \u6765 b&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/85162"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=85162"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/85162\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=85162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=85162"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=85162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}