Jelajahi Sumber

polyfill in node context as well

Herbert Vojčík 9 tahun lalu
induk
melakukan
0ec9024a34
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      local.amd.json

+ 2 - 1
local.amd.json

@@ -3,6 +3,7 @@
     "amber/es2015-polyfills": "./index"
   },
   "shim": {
-    "amber/browser-compatibility": ["./es2015-polyfills"]
+    "amber/browser-compatibility": ["./es2015-polyfills"],
+    "amber/node-compatibility": ["./es2015-polyfills"]
   }
 }