{"id":99,"date":"2023-11-04T14:21:25","date_gmt":"2023-11-04T06:21:25","guid":{"rendered":"https:\/\/leezp.top\/?p=99"},"modified":"2024-03-06T17:05:28","modified_gmt":"2024-03-06T09:05:28","slug":"webpack%e6%89%93%e5%8c%85%e6%97%b6%e6%9b%bf%e6%8d%a2%e6%8e%89node_modules%e4%b8%ad%e7%9a%84js%e6%96%87%e4%bb%b6%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/leezp.top\/?p=99","title":{"rendered":"Webpack\u6253\u5305\u65f6\u66ff\u6362\u6389node_modules\u4e2d\u7684js\u6587\u4ef6\u7684\u65b9\u6cd5"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u95ee\u9898\u80cc\u666f<\/h2>\n\n\n\n<p>\u5728Webpack\u9879\u76ee\u4e2d\uff0c\u9700\u8981\u81ea\u52a8\u66ff\u6362\u6389\u5df2\u5b89\u88c5\u7684\u5e93\u4e2d\u7684\u90e8\u5206js\u6587\u4ef6\u3002<strong>\u8bf4\u662f\u8986\u76d6\uff0c\u5176\u5b9e\u662f\u4e00\u79cd\u201c\u6362\u6e90\u201d<\/strong>\uff0c\u5728\u68c0\u6d4b\u5230\u76ee\u6807\u4f4d\u7f6e\u6587\u4ef6\u88ab\u4f7f\u7528\u65f6\uff0c\u5c06\u5176resource\u6307\u5411\u6211\u4eec\u771f\u6b63\u5e0c\u671b\u4f7f\u7528\u7684\u6587\u4ef6\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5177\u4f53\u65b9\u6cd5<\/h2>\n\n\n\n<p>\u5728<strong>webpack.config.js<\/strong>\u6587\u4ef6\u4e2d\uff0c\u4f7f\u7528webpack\u81ea\u5e26\u7684<strong>NormalModuleReplacementPlugin<\/strong>\u63d2\u4ef6<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#2b2b2b;color:#c7c7c7\">JavaScript<\/span><span role=\"button\" tabindex=\"0\" data-code=\"const path = require('path')\nconst webpack = require('webpack')\n\n\/\/...\n\nmodule.exports = {\n  \/\/...\n  plugins: [\n    new webpack.NormalModuleReplacementPlugin(\n      \/UnrealBloomPass\\.js\/, \/\/\u6b63\u5219\u5339\u914dUnrealBloomPass.js\uff0c\u5176\u4e2d\\.\u662f.\u7684\u8f6c\u4e49\n      result =&gt; {\n        if ( result.resource ) {\n          \/\/\u5c06\u6e90\u4fee\u6539\u4e3a\u6211\u4eec\u771f\u6b63\u5e0c\u671b\u4f7f\u7528\u7684\u6587\u4ef6\n          result.resource = path.resolve(__dirname, '..\/src\/assets\/UnrealBloomPass.js')\n        }\n      }\n    ),\n    \/\/ \u6839\u636ewebpack\u7248\u672c\u4e0d\u540c\uff0c\u6709\u65f6\u4f7f\u7528request\u5173\u952e\u5b57\uff0c\u5982\u4e0b\u6240\u793a\n     new Webpack.NormalModuleReplacementPlugin(\n          \/VabTabsBar\\\/index\\.vue\/, \n          result =&gt; {\n            if (result.request ) {\n              result.request = resolve('public\/static\/replace_stuff\/index.vue')\n            }\n          }\n     )\n  ]\n}\n\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #569CD6\">const<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #4FC1FF\">path<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #DCDCAA\">require<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #CE9178\">&#39;path&#39;<\/span><span style=\"color: #D4D4D4\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #569CD6\">const<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #4FC1FF\">webpack<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #DCDCAA\">require<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #CE9178\">&#39;webpack&#39;<\/span><span style=\"color: #D4D4D4\">)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\">\/\/...<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #4EC9B0\">module<\/span><span style=\"color: #D4D4D4\">.<\/span><span style=\"color: #4EC9B0\">exports<\/span><span style=\"color: #D4D4D4\"> = {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">  <\/span><span style=\"color: #6A9955\">\/\/...<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">  <\/span><span style=\"color: #9CDCFE\">plugins:<\/span><span style=\"color: #D4D4D4\"> [<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">    <\/span><span style=\"color: #569CD6\">new<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">webpack<\/span><span style=\"color: #D4D4D4\">.<\/span><span style=\"color: #DCDCAA\">NormalModuleReplacementPlugin<\/span><span style=\"color: #D4D4D4\">(<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">      <\/span><span style=\"color: #D16969\">\/UnrealBloomPass<\/span><span style=\"color: #D7BA7D\">\\.<\/span><span style=\"color: #D16969\">js\/<\/span><span style=\"color: #D4D4D4\">, <\/span><span style=\"color: #6A9955\">\/\/\u6b63\u5219\u5339\u914dUnrealBloomPass.js\uff0c\u5176\u4e2d\\.\u662f.\u7684\u8f6c\u4e49<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">      <\/span><span style=\"color: #9CDCFE\">result<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">=&gt;<\/span><span style=\"color: #D4D4D4\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">        <\/span><span style=\"color: #C586C0\">if<\/span><span style=\"color: #D4D4D4\"> ( <\/span><span style=\"color: #9CDCFE\">result<\/span><span style=\"color: #D4D4D4\">.<\/span><span style=\"color: #9CDCFE\">resource<\/span><span style=\"color: #D4D4D4\"> ) {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">          <\/span><span style=\"color: #6A9955\">\/\/\u5c06\u6e90\u4fee\u6539\u4e3a\u6211\u4eec\u771f\u6b63\u5e0c\u671b\u4f7f\u7528\u7684\u6587\u4ef6<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">          <\/span><span style=\"color: #9CDCFE\">result<\/span><span style=\"color: #D4D4D4\">.<\/span><span style=\"color: #9CDCFE\">resource<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #9CDCFE\">path<\/span><span style=\"color: #D4D4D4\">.<\/span><span style=\"color: #DCDCAA\">resolve<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #9CDCFE\">__dirname<\/span><span style=\"color: #D4D4D4\">, <\/span><span style=\"color: #CE9178\">&#39;..\/src\/assets\/UnrealBloomPass.js&#39;<\/span><span style=\"color: #D4D4D4\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">        }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">      }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">    ),<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">    <\/span><span style=\"color: #6A9955\">\/\/ \u6839\u636ewebpack\u7248\u672c\u4e0d\u540c\uff0c\u6709\u65f6\u4f7f\u7528request\u5173\u952e\u5b57\uff0c\u5982\u4e0b\u6240\u793a<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">     <\/span><span style=\"color: #569CD6\">new<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">Webpack<\/span><span style=\"color: #D4D4D4\">.<\/span><span style=\"color: #DCDCAA\">NormalModuleReplacementPlugin<\/span><span style=\"color: #D4D4D4\">(<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">          <\/span><span style=\"color: #D16969\">\/VabTabsBar<\/span><span style=\"color: #D7BA7D\">\\\/<\/span><span style=\"color: #D16969\">index<\/span><span style=\"color: #D7BA7D\">\\.<\/span><span style=\"color: #D16969\">vue\/<\/span><span style=\"color: #D4D4D4\">, <\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">          <\/span><span style=\"color: #9CDCFE\">result<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">=&gt;<\/span><span style=\"color: #D4D4D4\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">            <\/span><span style=\"color: #C586C0\">if<\/span><span style=\"color: #D4D4D4\"> (<\/span><span style=\"color: #9CDCFE\">result<\/span><span style=\"color: #D4D4D4\">.<\/span><span style=\"color: #9CDCFE\">request<\/span><span style=\"color: #D4D4D4\"> ) {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">              <\/span><span style=\"color: #9CDCFE\">result<\/span><span style=\"color: #D4D4D4\">.<\/span><span style=\"color: #9CDCFE\">request<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #DCDCAA\">resolve<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #CE9178\">&#39;public\/static\/replace_stuff\/index.vue&#39;<\/span><span style=\"color: #D4D4D4\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">            }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">          }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">     )<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">  ]<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">}<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>\u4ee5\u4e0a\u4ee3\u7801\u5b9e\u73b0\u7684\u529f\u80fd\uff1a\u91c7\u7528\u6b63\u5219\u5339\u914d\u65b9\u5f0f\u68c0\u6d4b\u5230node_modules\u4e2d\u7684UnrealBloomPass.js\u88ab\u4f7f\u7528\u65f6\uff08\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u8def\u5f84\uff0c\u5728\u8fd9\u91cc\u6211\u76f4\u63a5\u4f7f\u7528\u7684\u662f\u6587\u4ef6\u540d\uff09\uff0c\u5c06\u5176\u6e90\u66ff\u6362\u4e3a\u6211\u4eec\u5e0c\u671b\u771f\u6b63\u4f7f\u7528\u7684\u6587\u4ef6\uff1asrc\/assets\/UnrealBloomPass.js<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u95ee\u9898\u80cc\u666f \u5728Webpack\u9879\u76ee\u4e2d\uff0c\u9700\u8981\u81ea\u52a8\u66ff\u6362\u6389\u5df2\u5b89\u88c5\u7684\u5e93\u4e2d\u7684\u90e8\u5206js\u6587\u4ef6\u3002\u8bf4\u662f\u8986\u76d6\uff0c\u5176\u5b9e\u662f\u4e00\u79cd\u201c\u6362\u6e90\u201d\uff0c\u5728\u68c0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[5,6],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-7","tag-webpack","tag-6"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Webpack\u6253\u5305\u65f6\u66ff\u6362\u6389node_modules\u4e2d\u7684js\u6587\u4ef6\u7684\u65b9\u6cd5 - LeezP\u2018s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/leezp.top\/?p=99\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Webpack\u6253\u5305\u65f6\u66ff\u6362\u6389node_modules\u4e2d\u7684js\u6587\u4ef6\u7684\u65b9\u6cd5 - LeezP\u2018s Blog\" \/>\n<meta property=\"og:description\" content=\"\u95ee\u9898\u80cc\u666f \u5728Webpack\u9879\u76ee\u4e2d\uff0c\u9700\u8981\u81ea\u52a8\u66ff\u6362\u6389\u5df2\u5b89\u88c5\u7684\u5e93\u4e2d\u7684\u90e8\u5206js\u6587\u4ef6\u3002\u8bf4\u662f\u8986\u76d6\uff0c\u5176\u5b9e\u662f\u4e00\u79cd\u201c\u6362\u6e90\u201d\uff0c\u5728\u68c0 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/leezp.top\/?p=99\" \/>\n<meta property=\"og:site_name\" content=\"LeezP\u2018s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-04T06:21:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-06T09:05:28+00:00\" \/>\n<meta name=\"author\" content=\"LeezPayne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"LeezPayne\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/leezp.top\/?p=99#article\",\"isPartOf\":{\"@id\":\"https:\/\/leezp.top\/?p=99\"},\"author\":{\"name\":\"LeezPayne\",\"@id\":\"https:\/\/leezp.top\/#\/schema\/person\/74a8eae3251b96c500cb907559caad13\"},\"headline\":\"Webpack\u6253\u5305\u65f6\u66ff\u6362\u6389node_modules\u4e2d\u7684js\u6587\u4ef6\u7684\u65b9\u6cd5\",\"datePublished\":\"2023-11-04T06:21:25+00:00\",\"dateModified\":\"2024-03-06T09:05:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/leezp.top\/?p=99\"},\"wordCount\":21,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/leezp.top\/#\/schema\/person\/74a8eae3251b96c500cb907559caad13\"},\"keywords\":[\"Webpack\",\"\u524d\u7aef\"],\"articleSection\":[\"\u524d\u7aef\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/leezp.top\/?p=99#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/leezp.top\/?p=99\",\"url\":\"https:\/\/leezp.top\/?p=99\",\"name\":\"Webpack\u6253\u5305\u65f6\u66ff\u6362\u6389node_modules\u4e2d\u7684js\u6587\u4ef6\u7684\u65b9\u6cd5 - LeezP\u2018s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/leezp.top\/#website\"},\"datePublished\":\"2023-11-04T06:21:25+00:00\",\"dateModified\":\"2024-03-06T09:05:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/leezp.top\/?p=99#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/leezp.top\/?p=99\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/leezp.top\/?p=99#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/leezp.top\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Webpack\u6253\u5305\u65f6\u66ff\u6362\u6389node_modules\u4e2d\u7684js\u6587\u4ef6\u7684\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/leezp.top\/#website\",\"url\":\"https:\/\/leezp.top\/\",\"name\":\"LeezP\u2018s Blog | \u674e\u5b50\u76ae\u7684\u535a\u5ba2\",\"description\":\"\u674e\u5b50\u76ae\u7684\u535a\u5ba2\",\"publisher\":{\"@id\":\"https:\/\/leezp.top\/#\/schema\/person\/74a8eae3251b96c500cb907559caad13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/leezp.top\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/leezp.top\/#\/schema\/person\/74a8eae3251b96c500cb907559caad13\",\"name\":\"LeezPayne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/leezp.top\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/leezp.top\/wp-content\/uploads\/2023\/10\/Plum-Ext.png\",\"contentUrl\":\"https:\/\/leezp.top\/wp-content\/uploads\/2023\/10\/Plum-Ext.png\",\"width\":720,\"height\":720,\"caption\":\"LeezPayne\"},\"logo\":{\"@id\":\"https:\/\/leezp.top\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/leezp.top\"],\"url\":\"https:\/\/leezp.top\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Webpack\u6253\u5305\u65f6\u66ff\u6362\u6389node_modules\u4e2d\u7684js\u6587\u4ef6\u7684\u65b9\u6cd5 - LeezP\u2018s Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/leezp.top\/?p=99","og_locale":"zh_CN","og_type":"article","og_title":"Webpack\u6253\u5305\u65f6\u66ff\u6362\u6389node_modules\u4e2d\u7684js\u6587\u4ef6\u7684\u65b9\u6cd5 - LeezP\u2018s Blog","og_description":"\u95ee\u9898\u80cc\u666f \u5728Webpack\u9879\u76ee\u4e2d\uff0c\u9700\u8981\u81ea\u52a8\u66ff\u6362\u6389\u5df2\u5b89\u88c5\u7684\u5e93\u4e2d\u7684\u90e8\u5206js\u6587\u4ef6\u3002\u8bf4\u662f\u8986\u76d6\uff0c\u5176\u5b9e\u662f\u4e00\u79cd\u201c\u6362\u6e90\u201d\uff0c\u5728\u68c0 [&hellip;]","og_url":"https:\/\/leezp.top\/?p=99","og_site_name":"LeezP\u2018s Blog","article_published_time":"2023-11-04T06:21:25+00:00","article_modified_time":"2024-03-06T09:05:28+00:00","author":"LeezPayne","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"LeezPayne","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/leezp.top\/?p=99#article","isPartOf":{"@id":"https:\/\/leezp.top\/?p=99"},"author":{"name":"LeezPayne","@id":"https:\/\/leezp.top\/#\/schema\/person\/74a8eae3251b96c500cb907559caad13"},"headline":"Webpack\u6253\u5305\u65f6\u66ff\u6362\u6389node_modules\u4e2d\u7684js\u6587\u4ef6\u7684\u65b9\u6cd5","datePublished":"2023-11-04T06:21:25+00:00","dateModified":"2024-03-06T09:05:28+00:00","mainEntityOfPage":{"@id":"https:\/\/leezp.top\/?p=99"},"wordCount":21,"commentCount":0,"publisher":{"@id":"https:\/\/leezp.top\/#\/schema\/person\/74a8eae3251b96c500cb907559caad13"},"keywords":["Webpack","\u524d\u7aef"],"articleSection":["\u524d\u7aef"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/leezp.top\/?p=99#respond"]}]},{"@type":"WebPage","@id":"https:\/\/leezp.top\/?p=99","url":"https:\/\/leezp.top\/?p=99","name":"Webpack\u6253\u5305\u65f6\u66ff\u6362\u6389node_modules\u4e2d\u7684js\u6587\u4ef6\u7684\u65b9\u6cd5 - LeezP\u2018s Blog","isPartOf":{"@id":"https:\/\/leezp.top\/#website"},"datePublished":"2023-11-04T06:21:25+00:00","dateModified":"2024-03-06T09:05:28+00:00","breadcrumb":{"@id":"https:\/\/leezp.top\/?p=99#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/leezp.top\/?p=99"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/leezp.top\/?p=99#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/leezp.top\/"},{"@type":"ListItem","position":2,"name":"Webpack\u6253\u5305\u65f6\u66ff\u6362\u6389node_modules\u4e2d\u7684js\u6587\u4ef6\u7684\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/leezp.top\/#website","url":"https:\/\/leezp.top\/","name":"LeezP\u2018s Blog | \u674e\u5b50\u76ae\u7684\u535a\u5ba2","description":"\u674e\u5b50\u76ae\u7684\u535a\u5ba2","publisher":{"@id":"https:\/\/leezp.top\/#\/schema\/person\/74a8eae3251b96c500cb907559caad13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/leezp.top\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/leezp.top\/#\/schema\/person\/74a8eae3251b96c500cb907559caad13","name":"LeezPayne","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/leezp.top\/#\/schema\/person\/image\/","url":"https:\/\/leezp.top\/wp-content\/uploads\/2023\/10\/Plum-Ext.png","contentUrl":"https:\/\/leezp.top\/wp-content\/uploads\/2023\/10\/Plum-Ext.png","width":720,"height":720,"caption":"LeezPayne"},"logo":{"@id":"https:\/\/leezp.top\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/leezp.top"],"url":"https:\/\/leezp.top\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/leezp.top\/index.php?rest_route=\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/leezp.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leezp.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leezp.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leezp.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=99"}],"version-history":[{"count":6,"href":"https:\/\/leezp.top\/index.php?rest_route=\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":109,"href":"https:\/\/leezp.top\/index.php?rest_route=\/wp\/v2\/posts\/99\/revisions\/109"}],"wp:attachment":[{"href":"https:\/\/leezp.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leezp.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leezp.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}