mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Upgrade meteor-babel and install meteor-promise to polyfill Promise.
This commit is contained in:
2
meteor
2
meteor
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
BUNDLE_VERSION=0.4.31
|
||||
BUNDLE_VERSION=0.4.32
|
||||
|
||||
# OS Check. Put here because here is where we download the precompiled
|
||||
# bundles that are arch specific.
|
||||
|
||||
@@ -21,7 +21,8 @@ var packageJson = {
|
||||
version: "0.0.0",
|
||||
dependencies: {
|
||||
fibers: fibersVersion,
|
||||
"meteor-babel": "0.1.12",
|
||||
"meteor-babel": "0.2.1",
|
||||
"meteor-promise": "0.2.2",
|
||||
// Not yet upgrading Underscore from 1.5.2 to 1.7.0 (which should be done
|
||||
// in the package too) because we should consider using lodash instead
|
||||
// (and there are backwards-incompatible changes either way).
|
||||
|
||||
@@ -3,9 +3,13 @@
|
||||
|
||||
require('meteor-babel/register'); // #RemoveInProd this line is removed in isopack.js
|
||||
|
||||
// Install a global ES6-compliant Promise constructor that knows how to
|
||||
// run all its callbacks in Fibers.
|
||||
global.Promise = require("meteor-promise");
|
||||
|
||||
// Include helpers from NPM so that the compiler doesn't need to add boilerplate
|
||||
// at the top of every file
|
||||
require("meteor-babel").runtime();
|
||||
require("meteor-babel").installRuntime();
|
||||
|
||||
// Installs source map support with a hook to add functions to look for source
|
||||
// maps in custom places
|
||||
|
||||
Reference in New Issue
Block a user