mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Remove transform-es2015-modules-commonjs and update dependencies.
This commit is contained in:
1
index.js
1
index.js
@@ -26,7 +26,6 @@ module.exports = {
|
||||
}],
|
||||
require("babel-plugin-transform-es2015-function-name"),
|
||||
require("babel-plugin-transform-es2015-literals"),
|
||||
require("./plugins/sloppy-modules.js"),
|
||||
require("babel-plugin-transform-es2015-object-super"),
|
||||
require("babel-plugin-transform-es2015-parameters"),
|
||||
require("babel-plugin-transform-es2015-shorthand-properties"),
|
||||
|
||||
3190
npm-shrinkwrap.json
generated
3190
npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load Diff
59
package.json
59
package.json
@@ -7,35 +7,34 @@
|
||||
"repository": "https://github.com/meteor/babel-preset-meteor",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"babel-plugin-check-es2015-constants": "^6.7.2",
|
||||
"babel-plugin-syntax-async-functions": "^6.5.0",
|
||||
"babel-plugin-syntax-async-generators": "^6.5.0",
|
||||
"babel-plugin-syntax-flow": "^6.5.0",
|
||||
"babel-plugin-syntax-object-rest-spread": "^6.5.0",
|
||||
"babel-plugin-syntax-trailing-function-commas": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-arrow-functions": "^6.7.7",
|
||||
"babel-plugin-transform-es2015-block-scoped-functions": "^6.6.5",
|
||||
"babel-plugin-transform-es2015-block-scoping": "^6.7.1",
|
||||
"babel-plugin-transform-es2015-classes": "^6.7.7",
|
||||
"babel-plugin-transform-es2015-computed-properties": "^6.6.5",
|
||||
"babel-plugin-transform-es2015-destructuring": "^6.6.5",
|
||||
"babel-plugin-transform-es2015-for-of": "^6.6.0",
|
||||
"babel-plugin-transform-es2015-function-name": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-literals": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-modules-commonjs": "^6.7.7",
|
||||
"babel-plugin-transform-es2015-object-super": "^6.6.5",
|
||||
"babel-plugin-transform-es2015-parameters": "^6.7.0",
|
||||
"babel-plugin-transform-es2015-shorthand-properties": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-spread": "^6.6.5",
|
||||
"babel-plugin-transform-es2015-sticky-regex": "^6.5.0",
|
||||
"babel-plugin-transform-es2015-template-literals": "^6.6.5",
|
||||
"babel-plugin-transform-es2015-typeof-symbol": "^6.6.0",
|
||||
"babel-plugin-transform-es2015-unicode-regex": "^6.5.0",
|
||||
"babel-plugin-transform-es3-member-expression-literals": "^6.5.0",
|
||||
"babel-plugin-transform-es3-property-literals": "^6.5.0",
|
||||
"babel-plugin-transform-flow-strip-types": "^6.7.0",
|
||||
"babel-plugin-transform-object-rest-spread": "^6.6.5",
|
||||
"babel-plugin-transform-regenerator": "^6.6.5",
|
||||
"babel-plugin-transform-runtime": "^6.7.5"
|
||||
"babel-plugin-check-es2015-constants": "^6.8.0",
|
||||
"babel-plugin-syntax-async-functions": "^6.8.0",
|
||||
"babel-plugin-syntax-async-generators": "^6.8.0",
|
||||
"babel-plugin-syntax-flow": "^6.8.0",
|
||||
"babel-plugin-syntax-object-rest-spread": "^6.8.0",
|
||||
"babel-plugin-syntax-trailing-function-commas": "^6.8.0",
|
||||
"babel-plugin-transform-es2015-arrow-functions": "^6.8.0",
|
||||
"babel-plugin-transform-es2015-block-scoped-functions": "^6.8.0",
|
||||
"babel-plugin-transform-es2015-block-scoping": "^6.9.0",
|
||||
"babel-plugin-transform-es2015-classes": "^6.9.0",
|
||||
"babel-plugin-transform-es2015-computed-properties": "^6.8.0",
|
||||
"babel-plugin-transform-es2015-destructuring": "^6.9.0",
|
||||
"babel-plugin-transform-es2015-for-of": "^6.8.0",
|
||||
"babel-plugin-transform-es2015-function-name": "^6.9.0",
|
||||
"babel-plugin-transform-es2015-literals": "^6.8.0",
|
||||
"babel-plugin-transform-es2015-object-super": "^6.8.0",
|
||||
"babel-plugin-transform-es2015-parameters": "^6.9.0",
|
||||
"babel-plugin-transform-es2015-shorthand-properties": "^6.8.0",
|
||||
"babel-plugin-transform-es2015-spread": "^6.8.0",
|
||||
"babel-plugin-transform-es2015-sticky-regex": "^6.8.0",
|
||||
"babel-plugin-transform-es2015-template-literals": "^6.8.0",
|
||||
"babel-plugin-transform-es2015-typeof-symbol": "^6.8.0",
|
||||
"babel-plugin-transform-es2015-unicode-regex": "^6.8.0",
|
||||
"babel-plugin-transform-es3-member-expression-literals": "^6.8.0",
|
||||
"babel-plugin-transform-es3-property-literals": "^6.8.0",
|
||||
"babel-plugin-transform-flow-strip-types": "^6.8.0",
|
||||
"babel-plugin-transform-object-rest-spread": "^6.8.0",
|
||||
"babel-plugin-transform-regenerator": "^6.9.0",
|
||||
"babel-plugin-transform-runtime": "^6.9.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
var strictModulesPluginFactory =
|
||||
require("babel-plugin-transform-es2015-modules-commonjs");
|
||||
|
||||
module.exports = [function () {
|
||||
var plugin = strictModulesPluginFactory.apply(this, arguments);
|
||||
// Since babel-preset-meteor uses an exact version of the
|
||||
// babel-plugin-transform-es2015-modules-commonjs transform (6.4.5), we
|
||||
// can be sure this plugin.inherits property is indeed the
|
||||
// babel-plugin-transform-strict-mode transform that we wish to disable.
|
||||
// Otherwise it would be difficult to know exactly what we're deleting
|
||||
// here, since plugins don't provide much identifying information.
|
||||
delete plugin.inherits;
|
||||
return plugin;
|
||||
}, {
|
||||
allowTopLevelThis: true,
|
||||
strict: false,
|
||||
loose: true
|
||||
}];
|
||||
Reference in New Issue
Block a user