Skip to content

Commit 80b7425

Browse files
PB-156: npm run start command is failing with babel-types error
1 parent 5f5f850 commit 80b7425

File tree

2 files changed

+2
-2
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web/ts/babel/plugin-amd-to-magento-amd

2 files changed

+2
-2
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/ts/babel/plugin-amd-to-magento-amd/ast-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ exports.isVoidExpression = isVoidExpression;
1919
exports.isInteropRequireCall = isInteropRequireCall;
2020
exports.isInteropRequireDefinition = isInteropRequireDefinition;
2121

22-
var t = _interopRequireWildcard(require("babel-types"));
22+
var t = _interopRequireWildcard(require("@babel/types"));
2323

2424
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
2525

app/code/Magento/PageBuilder/view/adminhtml/web/ts/babel/plugin-amd-to-magento-amd/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exports.default = _default;
1313

1414
var _astUtils = require("./ast-utils");
1515

16-
var t = _interopRequireWildcard(require("babel-types"));
16+
var t = _interopRequireWildcard(require("@babel/types"));
1717

1818
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
1919

0 commit comments

Comments
 (0)