{"id":423334,"date":"2021-04-01T13:54:34","date_gmt":"2021-04-01T05:54:34","guid":{"rendered":"http:\/\/4563.org\/?p=423334"},"modified":"2021-04-01T13:54:34","modified_gmt":"2021-04-01T05:54:34","slug":"%e5%8d%87%e7%ba%a7-webpack-5-%e9%81%87%e5%88%b0%e7%9a%84%e5%9d%91%ef%bc%8c%e6%9e%9c%e7%84%b6%e8%bf%87%e6%97%a9%e7%9a%84%e4%bc%98%e5%8c%96%e6%98%af%e4%b8%87%e6%81%b6%e4%b9%8b%e6%ba%90","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=423334","title":{"rendered":"\u5347\u7ea7 webpack 5 \u9047\u5230\u7684\u5751\uff0c\u679c\u7136\u8fc7\u65e9\u7684\u4f18\u5316\u662f\u4e07\u6076\u4e4b\u6e90"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5347\u7ea7 webpack 5 \u9047\u5230\u7684\u5751\uff0c\u679c\u7136\u8fc7\u65e9\u7684\u4f18\u5316\u662f\u4e07\u6076\u4e4b\u6e90               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : einsdisp <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u76ee\u524d\u6709\u82e5\u5e72\u524d\u7aef\u9879\u76ee\uff0c2 \u5e74\u524d\u7684\u65f6\u5019\u62bd\u8c61\u51fa\u4e86\u4e00\u4e2a\u7528\u4e8e\u6784\u5efa\u7684\u5de5\u5177\u5305 boilerplate \uff08\u7c7b\u4f3c create-react-app \u8fd9\u79cd\uff09\uff0c\u5f53\u65f6\u7528\u7684 webpack 4\uff0c\u5927\u6982\u5404\u79cd\u6784\u5efa\u5de5\u5177\u4f7f\u7528\u7684\u7248\u672c\u73b0\u5728\u6bd4\u8f83\u8001\u4e86\uff0c\u6bcf\u6b21\u5b89\u88c5 \/\u5347\u7ea7\u5305\u7684\u65f6\u5019\uff0cnpm \u5c31\u63d0\u793a\u6709\u4e24\u767e\u591a\u4e2a\u6f0f\u6d1e<\/p>\n<p>found 2xx low severity vulnerabilities<\/p>\n<p>\u8fd9\u4e48\u591a\u6f0f\u6d1e\uff0c\u53ef\u80fd\u5176\u5b9e\u5e76\u6ca1\u6709\u5565\u5371\u5bb3\uff0c\u4f46\u5bf9\u4e8e\u5f3a\u8feb\u75c7\u800c\u8a00\uff0c\u5c31\u662f\u770b\u7740\u4e0d\u723d\u3002\u5173\u952e\u5f88\u591a\u6f0f\u6d1e\u8981\u89e3\u51b3\u7684\u8bdd\uff0c\u6839\u636e npm audit \u63d0\u793a\uff0c\u5f88\u591a\u5305\u5fc5\u987b\u5347\u7ea7\u5927\u7248\u672c\u53f7\uff0c\u7279\u522b\u662f\u8981\u5347\u7ea7\u5230 webpack v5 \u3002<\/p>\n<p>\u8fd1\u671f\u6b63\u597d\u8981\u4fee\u6539 boilerplate \u5305\uff0c\u6dfb\u52a0\u4e00\u4e9b\u529f\u80fd\uff0c\u4e8e\u662f\u4e00\u6d3e\u8111\u95e8\uff0c\u6253\u7b97\u5e72\u8106\u4e00\u4e0d\u505a\u4e8c\u4e0d\u4fee\uff0c\u5347\u7ea7\u5230 webpack v5\uff0c\u7ed3\u679c\u6298\u817e\u4e24\u5929\uff0c\u53d1\u73b0\u6709\u5f88\u591a\u7684\u63d2\u4ef6 \/\u5de5\u5177\u5c1a\u4e0d\u652f\u6301 webpack 5\uff0c\u6216\u8005\u6709 bug\uff0c\u6216\u8005\u662f\u58f0\u660e\u7684 dependencies\/peerDependencies \u4ecd\u7136\u7ed1\u5b9a\u7740 v4 \u7248\u672c\u7684 webpack \u6216\u8005 @types\/webpack \u3002<\/p>\n<p>\u7136\u540e\u624d\u60f3\u8d77\u6765\uff0c\u770b\u4e86\u4e0b create-react-app \u7684 issue\uff0c\u53d1\u73b0\u8fd9\u79cd\u7ea7\u522b\u7684\u9879\u76ee\u4e5f\u8fd8\u6ca1\u5b8c\u5168\u652f\u6301 webpack 5 \u5462\uff1a https:\/\/github.com\/facebook\/create-react-app\/issues\/9994 \uff08\u770b\u8fd9\u4e2a issue\uff0c\u8fd8\u6709\u4e00\u4e9b\u5de5\u4f5c\u6ca1\u5b8c\u6210\u5462\uff09<\/p>\n<p>\u770b\u6765 webpack5 \u7684\u751f\u6001\u8fd8\u4e0d\u5b8c\u5584\uff0c\u4e0d\u60f3\u5f53\u5c0f\u767d\u9f20\uff0c\u82b1\u8d39\u592a\u591a\u65f6\u95f4\u5728\u5de5\u5177\u94fe\u7684\u914d\u7f6e \/\u5347\u7ea7\u4e0a\u6beb\u65e0\u610f\u4e49\uff0c\u800c\u4e14 webpack v5 \u7684\u65b0\u7279\u6027\u4e5f\u6ca1\u5565\u521a\u9700\uff0c\u76ee\u524d v4 \u4e0b\uff0c\u6784\u5efa\u65f6\u95f4\u4e5f\u8fd8\u53ef\u4ee5\u3002\u4e8e\u662f\u679c\u65ad\u653e\u5f03\uff0c\u7ee7\u7eed\u7528\u56de webpack 4\uff0c\u4e24\u5929\u65f6\u95f4\u767d\u8d39\u529b\uff0c\u90c1\u95f7\u3002\u679c\u7136\u8fc7\u65e9\u7684\u4f18\u5316\u662f\u4e07\u6076\u4e4b\u6e90\uff0cv5 \u53bb\u5e74 10 \u6708\u53d1\u5e03\u6b63\u5f0f\u7248\uff0c\u73b0\u5728\u5347\u7ea7\u5230 v5 \u8fd8\u662f\u592a\u65e9\u4e86\uff0c\u4f30\u8ba1\u81f3\u5c11\u7b49\u4e00\u5e74\u751f\u6001\u7cfb\u7edf\u624d\u4f1a\u6bd4\u8f83\u5b8c\u5584\u3002<\/p>\n<p>\u8fd9\u4e2a\u65f6\u5019\u5c31\u663e\u793a\u51fa golang \u7684\u597d\u5904\u4e86\uff0cgolang \u7684\u751f\u6001\u73af\u5883\uff0c\u5f88\u5c11\u51fa\u73b0 python2 vs python3\uff0cwebpack4 vs webpack5 \u7684\u8fd9\u79cd\u5927\u7684\u5272\u88c2\u3002\u5927\u591a\u6570\u65f6\uff0c\u53ef\u4ee5\u65e0\u8111\u5347\u7ea7\u5927\u7248\u672c\u53f7\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>28<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5620880\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Shook <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7136\u540e\u7b49\u7248\u672c\u7a33\u5b9a\u4e86\uff0cwebpack6 \u5c31\u8981\u51fa\u6765\u4e86\u3002<br \/>\u8fd9\u548c\u4e70\u6e38\u620f\u673a\u7684\u903b\u8f91\u5dee\u4e0d\u591a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620881\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : LokiSharp <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             golang \u8fd8\u5e74\u8f7b \u8fd8\u6ca1\u51fa 2                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620882\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : einsdisp <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Shook \u5bf9\u7684\uff0c\u5176\u5b9e\u8fd9\u6837\u633a\u597d\uff0c\u8f6f\u4ef6\u5305\u603b\u662f\u4f7f\u7528\u6b21\u5927\u7248\u672c\u53f7\uff0c\u4fdd\u8bc1\u8db3\u591f\u7a33\u5b9a\uff08\u5982\u679c\u6700\u65b0\u5927\u7248\u672c\u53f7\u6ca1\u6709\u521a\u9700\u529f\u80fd\u7684\u8bdd\uff09\u3002\u50cf\u5f88\u591a\u670d\u52a1\u5668\u53d1\u884c\u7248\uff0c\u91cc\u9762\u7684\u8f6f\u4ef6\u5c31\u633a\u8001\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620883\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : einsdisp <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Shook \u6e38\u620f\u673a\u8ddf\u751f\u4ea7\u529b\u8f6f\u4ef6\u4e0d\u662f\u4e00\u56de\u4e8b\u3002\u8d2d\u4e70\u6700\u65b0\u7684\u6e38\u620f\u673a\uff0c\u54ea\u6015\u6709\u4e9b\u6e38\u620f\u65e0\u6cd5\u8fd0\u884c \/\u6ca1\u6709\u9002\u914d\u4e5f\u65e0\u6240\u8c13\uff0c\u7b49\u7b49\u5c31\u884c\uff0c\u665a\u73a9\u51e0\u5929\u6b7b\u4e0d\u4e86\u3002\u751f\u4ea7\u529b\u8f6f\u4ef6\u4e71\u5347\u5927\u7248\u672c\u53f7\uff0c\u5bfc\u81f4\u5176\u4f9d\u8d56\u7684\u5176\u4ed6\u8f6f\u4ef6 \/\u63d2\u4ef6\u5931\u6548\u6216\u8005\u4e0d\u7a33\u5b9a\uff0c\u662f\u8981\u547d\u7684\u3002\u8fd9\u5c31\u662f\u4f7f\u7528\u6b21\u5927\u7248\u672c\u53f7\u7684\u597d\u5904                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620884\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : einsdisp <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @LokiSharp golang 2 \u53ea\u662f\u4e2a\u4ee3\u53f7\uff08\u7c7b\u4f3c alpha\/next \u8fd9\u79cd\u542b\u4e49\uff09\uff0c\u5f88\u53ef\u80fd\u6c38\u8fdc\u4e0d\u4f1a\u51fa v2                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620885\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chenqh <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u90a3\u662f\u56e0\u4e3a golang \u57fa\u672c\u6ca1\u6709\u8bed\u6cd5\u53d8\u52a8\uff0c\u4f46\u662f\u4e0d\u4ee3\u8868 golang \u7684\u7b2c\u4e09\u65b9\u5e93\u53ef\u4ee5\u65e0\u8111\u5347\u5927\u7248\u672c\u5440                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620886\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : einsdisp <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @chenqh \u55ef\u3002\u7b2c\u4e09\u65b9\u5e93\u5347\u7ea7\u5927\u7248\u672c\u7684\u8bdd\uff0c\u5c31\u7b97\u4e0d\u662f\u65e0\u8111\u5347\u7ea7\uff0c\u4e00\u822c API \u6539\u52a8\u4e5f\u4e0d\u4f1a\u592a\u5927\uff0c\u9700\u8981\u8c03\u6574\u7684\u4ee3\u7801\u4e5f\u5f88\u5c11\u3002\u5f88\u5c11\u51fa\u73b0 webpack v4 v5 \u8fd9\u79cd\u7275\u4e00\u53d1\u800c\u52a8\u5168\u8eab\u7684\u4e8b\u60c5\u3002<\/p>\n<p>golang \u8bed\u8a00\u672c\u8eab\u5c31\u662f\u5949\u884c\u6781\u7b80\u4e3b\u4e49\uff0c\u5982\u65e0\u5fc5\u8981\u8bef\u589e\u5b9e\u4f53\u3002\u5f71\u54cd\u8fd9\u7b2c\u4e09\u65b9\u5e93\u4e5f\u5927\u4f53\u5982\u6b64\u3002\u6211\u5bf9\u6bd4\u8fc7\u5f88\u591a\u76f8\u540c\u5b9a\u4f4d\u7684 python \u5e93\u4e0e golang \u5e93\uff0cgolang \u7684\u5e93\u529f\u80fd\u7b80\u7565\u7684\u591a\u3002<\/p>\n<p>\u5927\u6982 golang \u7684\u7b2c\u4e09\u5e93\u672c\u8eab\u5c31\u5f88\u6781\u7b80\uff0c\u6240\u4ee5\u5347\u7ea7\u5927\u7248\u672c\u53f7\u975e\u5e38\u5e73\u6ed1\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620887\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : duan602728596 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u73b0\u5728\u5e38\u7528\u7684 loader \u548c plugin \u5df2\u7ecf\u652f\u6301 webpack5 \u4e86\u3002\u7ed9\u6211\u81ea\u5df1\u9879\u76ee\u7528\u7684\u641e\u7684\u811a\u624b\u67b6\u548c\u6211\u4eec\u9879\u76ee\u7528\u7684 umi\uff0c\u5347\u7ea7\u5230 webpack5 \u540e\u90fd\u6ca1\u6709\u95ee\u9898\u3002\u6709\u95ee\u9898\u7684\u6709\u53ef\u80fd\u662f loader \u548c plugin \u672c\u8eab api \u7684\u53d8\u5316\u3002<\/p>\n<p>\u58f0\u660e webpack4 \u7684\uff0c\u6709\u4e9b\u662f\u5df2\u7ecf\u5e9f\u5f03\u7684\uff0c\u53ef\u80fd\u662f webpack \u5df2\u7ecf\u5185\u7f6e\u7684\u529f\u80fd\uff0c\u6709\u4e9b\u662f\u4e0d\u9700\u8981\u5347\u7ea7\u7684\uff0c\u6ca1\u6709\u7528\u5230 webpack \u5df2\u7ecf\u5e9f\u5f03\u7684 api\uff0c\u6240\u4ee5\u517c\u5bb9 webpack5 \u3002\u5728 ts \u7f16\u8bd1\u65f6\u5ffd\u7565\u9519\u8bef\u5373\u53ef\u3002<\/p>\n<p>webpack5 \u7684 top-level-await \u3001Module Federation \u3001filesystem cache \u7b49\u90fd\u5f88\u6709\u7528\uff0c\u5e76\u4e14\u7f16\u8bd1\u901f\u5ea6\u771f\u7684\u662f\u5927\u5e45\u5ea6\u63d0\u5347\uff0c\u6211\u4eec\u7684\u9879\u76ee\u7f16\u8bd1\u65f6\u95f4\u4ece 4 \u5206\u949f\u7f29\u77ed\u5230 2 \u5206\u949f\u5185\uff0c\u5728 docker \u5185\u7684\u6253\u5305\u65f6\u95f4\u4ece 10 \u5206\u949f\u964d\u4f4e\u5230 3 \u5206\u949f\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620888\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wangkun025 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u524d\u7aef\u662f\u5669\u68a6\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620889\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : einsdisp <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @duan602728596 <\/p>\n<p>\u55ef\u55ef\uff0c\u5e38\u89c1\u7684 loader \u4e0e\u63d2\u4ef6\u5f88\u591a\u5df2\u7ecf\u652f\u6301 v5 \u3002\u4e0d\u5e78\u6211\u7684\u8fd9\u811a\u624b\u67b6\u7528\u4e86\u4e00\u4e2a\u6bd4\u8f83\u5c0f\u4f17\u7684\u63d2\u4ef6\u201cerror-overlay-webpack-plugin\u201d\uff0c\u662f\u4ece create-reate-app \u4e2d\u63d0\u53d6\u51fa\u6765\u7684\uff0c\u5f00\u53d1\u7684\u65f6\u5019\u53ef\u4ee5\u76f4\u63a5\u5728\u9875\u9762\u770b\u5230\u524d\u7aef\u4ee3\u7801\u7684\u9519\u8bef\u63d0\u793a\uff0c\u611f\u89c9\u633a\u65b9\u4fbf\u7684\uff08\u4e0d\u540c\u4e8e webpack \u7684 overlay\uff0c\u90a3\u4e2a\u53ea\u80fd\u663e\u793a webpack \u81ea\u8eab\u7684\u7f16\u8bd1\u9519\u8bef\uff09<\/p>\n<p>\u6628\u5929\u8fd8\u53bb\u8fd9\u4e2a\u63d2\u4ef6\u7684 issues \u91cc\u770b\u4e86\u4e0b\uff0c\u5c1a\u4e0d\u652f\u6301 v5\uff0c\u56e0\u4e3a\u4e0a\u6e38\u7684 create-reate-app \u4e5f\u8fd8\u6ca1\u5b8c\u5168\u8fc1\u79fb\u5230 v5                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620890\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mcfog <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u597d\uff0cgolang \u5e76\u4e0d\u65e0\u8111<br \/>\u652f\u6301 gomod \u7684\u4e0d\u652f\u6301 gomod \u7684\uff0cprotobuf \u65b0\u8001\u4e24\u4e2a\u7248\u672c\u7684\uff0cgrpc \u51e0\u6b21\u4e0d\u517c\u5bb9\u5347\u7ea7\u7684<br \/>etcd \u548c grpc \u4e0d\u662f\u5de6\u8fb9\u4e0d\u5bf9\u5c31\u662f\u53f3\u8fb9\u4e0d\u5bf9\uff0c\u81f3\u4eca\u7528\u7740\u6bdb\u5b50\u7684 fork                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620891\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : leelz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6700\u8fd1\u4e5f\u5728\u5e72\u5347\u7ea7 webpack5\uff0c\u8fd8\u7b97\u5e73\u6ed1\u3002\u8e29\u5230\u7684\u5751\u57fa\u672c\u90fd\u80fd\u641c\u5f97\u5230\u89e3\u51b3\u529e\u6cd5\u3002\u5347\u7ea7 mini-css-extract-plugin \u8fd9\u4e2a\u5c31\u80fd\u5e72\u6389\u5f88\u591a warning \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620892\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : anonydmer <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u811a\u672c\u8bed\u8a00\u7684\u5347\u7ea7\u5c31\u6ca1\u6709\u4e00\u4e2a\u8ba9\u4eba\u7701\u5fc3\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620893\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : LiuJiang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4eb2\uff0c\u8fd9\u8fb9\u5efa\u8bae\u60a8\u4f7f\u7528 Vite \u6216 Snowpack \u4ee3\u66ff\u5462\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620894\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lewinlan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6cdb\u578b\u90fd\u662f 1.1x \u4e86\uff0c\u4f30\u8ba1\u804c\u4e1a\u751f\u6daf\u5185 go \u662f\u4e0d\u4f1a breaking change \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620895\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : fuis <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u5b8c\u5168\u6587\u6211\u4e5f\u4e0d\u77e5\u9053\u4f60\u5230\u5e95\u5728\u4f18\u5316\u4ec0\u4e48                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620896\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jirajine <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u8bf4 golang \u7b80\u5355\uff0c\u5b9e\u9645\u4e0a\u4f60\u7684\u9879\u76ee\u5982\u679c\u6df1\u5ea6\u5b9a\u5236\u4e86 webpack\uff0c\u90a3\u662f\u4f60\u7684\u9879\u76ee\u672c\u8eab\u590d\u6742\u3002<br \/>\u5f88\u591a webpack \u7279\u6709\u7684\u3001\u6df1\u5ea6\u5b9a\u5236\u7684\u5404\u79cd\u529f\u80fd\u3001\u63d2\u4ef6\u5176\u5b9e\u662f\u4e0d\u5fc5\u8981\u7684\uff0c\u5982\u679c\u4f60\u5949\u884c\u6240\u8c13 golang \u90a3\u79cd\u4fdd\u6301\u7b80\u5355\u7406\u5ff5\u7ec4\u7ec7\u9879\u76ee\u7ed3\u6784\uff0c\u90a3\u4e48\u5b8c\u5168\u53ef\u4ee5\u4e0d\u7528 webpack\uff0c\u76f4\u63a5\u7528 parcel\/rollup\/snowpack \u8fd9\u4e9b\u65e0\u75db\u7684\u3001\u7b80\u5355\u7684\u65b9\u6848\u5c31\u53ef\u4ee5\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620897\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shawn102400 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             golang \u4f53\u73b0\u597d\u5904\u4e2a\u9b3c\uff0cgolang \u7684\u5751\u6bd4\u5176\u4ed6\u8bed\u8a00\u90fd\u591a\uff0c\u5b9e\u5728\u662f\u4eba\u529b\u4e0d\u591f\u586b\u4e0d\u5b8c\u7f62\u4e86\u3002golang2.0 \u90fd\u8ba1\u5212 5 \u5e74\u4e86\uff0c\u8fd8\u6ca1\u641e\u51fa\u6765\uff0c\u5c31\u6cdb\u578b\u548c\u5f02\u5e38\u5904\u7406\u8fd9\u4e24\u4e2a\u5751\uff0c\u81f3\u5c11\u586b\u51e0\u5e74\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620898\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gzwgq222 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6700\u8fd1\u4e5f\u5728\u5347\u7ea7 webpack5\uff0c\u4e5f\u78b0\u5230\u4e86\u4e00\u4e9b\u95ee\u9898\u3002\u6bd4\u5982\u4f1a\u53bb\u7f16\u8bd1\u7ec4\u4ef6\u8bf4\u660e\u7684 markdown \u6587\u4ef6\uff0c\u63d0\u793a md \u8bed\u6cd5\u9519\u8bef\uff0c\u8fd8\u6ca1\u62bd\u65f6\u95f4\u53bb\u67e5\u539f\u56e0\u3002\u867d\u7136 V4 \u7684\u6784\u5efa\u901f\u5ea6\u5df2\u7ecf\u4f18\u5316\u4e00\u6ce2\u4e86\uff0c\u5927\u7ea6\u63d0\u5347\u4e86 70%~80%\uff0c\u4f46\u8fd8\u662f\u60f3\u8bd5\u8bd5 V5 \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620899\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bojackhorseman <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u501f\u95ee\u4e00\u4e0b\uff0c\u600e\u4e48\u719f\u7ec3\u638c\u63e1 webpack \u554a\u3002\u5e73\u5e38\u505a\u9879\u76ee\u90fd\u662f\u811a\u624b\u67b6\u4e00\u628a\u68ad\u3002\u79bb\u4e86\u811a\u624b\u67b6\u5c31\u6210\u4e86\u667a\u969c\uff0c\u4f46\u5bf9\u4e8e\u524d\u7aef\u800c\u8a00\uff0c\u8fd8\u662f\u60f3\u591a\u4e86\u89e3\u4e00\u4e0b\u7684\uff0c\u770b\u5b98\u65b9\u6587\u6863\uff0c\u5185\u5bb9\u5f88\u591a\u6982\u5ff5\u4e5f\u5f88\u7e41\u590d\uff0c\u8001\u5b9e\u8bf4\uff0c\u5e76\u4e0d\u80fd\u5f88\u6709\u6548\u7684\u7406\u89e3\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620900\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Sparetire <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5927\u7248\u672c\u5347\u7ea7\u672c\u6765\u5c31\u662f\u4f1a\u6709 breaking change \u7684\uff0c\u4f60\u5bf9\u5927\u7248\u672c\u5347\u7ea7\u7684\u671f\u671b\u662f\u65e0\u8111\u5347\uff0c\u6211\u4e00\u65f6\u7adf\u4e0d\u77e5\u9053\u662f\u8c01\u6709\u95ee\u9898\u3002\u3002<br \/>\u6807\u9898\u8bf4\u8fc7\u65e9\u4f18\u5316\uff0c\u901a\u5e38\u6211\u4eec\u8bf4\u8fc7\u65e9\u4f18\u5316\u662f\u5f62\u5bb9\u4f18\u5316\u4ee3\u7801\uff0c\u6574\u7bc7\u6d0b\u6d0b\u6d12\u6d12\u770b\u4e0b\u6765\u4e5f\u6ca1\u770b\u89c1\u548c\u4f18\u5316\u4ee3\u7801\u6709\u4ec0\u4e48\u5173\u7cfb                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620901\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : WillBC <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             webpack \u7684\u5b66\u4e60\u548c\u4f7f\u7528\u4f53\u9a8c\u5c31\u662f                                                             <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620902\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : byte10 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @WillBC \u5934\u5927\uff0cgolang \u548c node \u5176\u5b9e\u5f88\u50cf\u7684\uff0c\u5c31\u662f\u8f6e\u5b50\u591a\uff0c\u5c0f\u732b\u5c0f\u72d7\u90fd\u53ef\u4ee5\u641e\u8f6e\u5b50\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620903\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sjhhjx0122 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u81ea\u4ece\u7528\u4e86 vite \u5c31\u56de\u4e0d\u53bb\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620904\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : fulvaz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u8981\u65b9, \u7b49\u5230 lts \u7684\u6700\u540e\u4e00\u5929\u5347\u7ea7\u4e5f\u4e0d\u8fdf                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620905\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yaphets666 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5e72\u4e86\u5feb 3 \u5e74\u524d\u7aef\u4e86.\u8d8a\u6765\u8d8a\u89c9\u5f97\u524d\u7aef\u662f\u4e00\u56e2\u8ff7\u96fe,\u591a\u5f97\u662f\u4e0d\u77e5\u9053\u7684\u5751.\u6709\u4e9b\u60f3\u8f6c java \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620906\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ezreal <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             vite \u65b9\u4fbf\u591a\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5620907\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dany813 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5229\u597d vite                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5347\u7ea7 webpack 5 \u9047\u5230\u7684\u5751&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\/423334"}],"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=423334"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/423334\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=423334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=423334"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=423334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}