Forráskód Böngészése

comment hardsource

愚道 7 éve
szülő
commit
5ea5e904c0
1 módosított fájl, 9 hozzáadás és 9 törlés
  1. 9 9
      config/config.js

+ 9 - 9
config/config.js

@@ -27,15 +27,15 @@ const plugins = [
           importWorkboxFrom: 'local',
         },
       },
-      ...(!process.env.TEST && os.platform() === 'darwin'
-        ? {
-            dll: {
-              include: ['dva', 'dva/router', 'dva/saga', 'dva/fetch'],
-              exclude: ['@babel/runtime'],
-            },
-            hardSource: false,
-          }
-        : {}),
+      // ...(!process.env.TEST && os.platform() === 'darwin'
+      //   ? {
+      //       dll: {
+      //         include: ['dva', 'dva/router', 'dva/saga', 'dva/fetch'],
+      //         exclude: ['@babel/runtime'],
+      //       },
+      //       hardSource: true,
+      //     }
+      //   : {}),
     },
   ],
 ];