Bläddra i källkod

add some reposity

night-cherry 3 veckor sedan
förälder
incheckning
31020ba10b
1 ändrade filer med 17 tillägg och 17 borttagningar
  1. 17 17
      webpack.config.js

+ 17 - 17
webpack.config.js

@@ -21,23 +21,23 @@ module.exports={
   },
   module:{
     rules:[
-      {
-        test: /\.html  \)/,
-        use: [
-          {
-            loader: 'html-loader',
-            options: {  // [!code focus]
-              // 配置 HTML 中资源引用的处理规则
-              sources: { // [!code focus]
-                list: [ // [!code focus]
-                  { tag: 'img', attribute: 'src', type: 'src' }, // 处理 <img src>
-                  { tag: 'a', attribute: 'href', type: 'src' }   // 处理 <a href> // [!code focus]
-                ] // [!code focus]
-              } // [!code focus]
-            } // [!code focus]
-          }
-        ]
-      },
+      // {
+      //   test: /\.html  \)/,
+      //   use: [
+      //     {
+      //       loader: 'html-loader',
+      //       options: {  // [!code focus]
+      //         // 配置 HTML 中资源引用的处理规则
+      //         sources: { // [!code focus]
+      //           list: [ // [!code focus]
+      //             { tag: 'img', attribute: 'src', type: 'src' }, // 处理 <img src>
+      //             { tag: 'a', attribute: 'href', type: 'src' }   // 处理 <a href> // [!code focus]
+      //           ] // [!code focus]
+      //         } // [!code focus]
+      //       } // [!code focus]
+      //     }
+      //   ]
+      // },
       {
         test:/\.css$/i,
         // use:["style-loader","css-loader"],