@meteorjs/babel 7.21.0-beta.3 → 7.21.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/options.js +1 -0
  2. package/package.json +1 -1
  3. package/parser.js +0 -1
package/options.js CHANGED
@@ -199,6 +199,7 @@ function getDefaultsForNode8(features) {
199
199
  }
200
200
  // Enable async generator functions proposal.
201
201
  combined.plugins.push(require("@babel/plugin-proposal-async-generator-functions"));
202
+ combined.plugins.push(require("@babel/plugin-transform-modules-commonjs"));
202
203
  }
203
204
 
204
205
  if (! compileModulesOnly) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meteorjs/babel",
3
3
  "author": "Meteor <dev@meteor.com>",
4
- "version": "7.21.0-beta.3",
4
+ "version": "7.21.0-beta.4",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
7
7
  "description": "Babel wrapper package for use with Meteor",
package/parser.js CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  const babelParser = require("@babel/parser");
4
4
  const defaultParserOptions = require("@meteorjs/reify/lib/parsers/babel.js").options;
5
- console.log("-> defaultParserOptions", defaultParserOptions);
6
5
 
7
6
  function parse(code, parserOptions) {
8
7
  return babelParser.parse(code, parserOptions || defaultParserOptions);