Files
meteor/packages/ecmascript-runtime-client/package.js
Ben Newman 0f0ef96611 Prevent _typeof(Reflect) from throwing in older browsers.
Should fix #9598, thanks to @abernix's diagnosis of the problem:
https://github.com/meteor/meteor/issues/9598#issuecomment-361570289

My later comment in that issue thread is not accurate, since the Babel
wrapNativeSuper helper already pulls in the core-js Reflect.construct
polyfill. Instead, the root of the problem really seems to be Babel's
generation of an unguarded _typeof(Reflect) expression.
2018-01-31 17:29:15 -05:00

17 lines
505 B
JavaScript

Package.describe({
name: "ecmascript-runtime-client",
version: "0.6.1",
summary: "Polyfills for new ECMAScript 2015 APIs like Map and Set",
git: "https://github.com/meteor/meteor/tree/devel/packages/ecmascript-runtime-client",
documentation: "README.md"
});
Package.onUse(function(api) {
api.use("modules", "client");
api.use("promise", "client");
api.mainModule("runtime.js", "client");
api.export("Symbol", "client");
api.export("Map", "client");
api.export("Set", "client");
});