Browse Source

Fixed old karma conf

Benjamin Giesinger 7 năm trước cách đây
mục cha
commit
bde6f29c6a
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      karma.conf.js

+ 2 - 1
karma.conf.js

@@ -49,8 +49,9 @@ module.exports = function (config) {
 
             // copy parts of webpack configuration to use minimal effort here
             devtool: 'cheap-module-eval-source-map',
+            mode: 'production',
             module: {
-                loaders: common.module.loaders
+                rules: common.module.rules
             },
             resolve: common.resolve
         },