shimataro d3a37b5d08 Add ".js" extension to injected polyfill imports (#10549)
* Node modules compatibility: add ".js" extension to imported polyfills

* Update fixtures

* add extensions on calling `addDefaultImport()`, not in the function.
2019-12-06 13:30:23 +01:00

8 lines
153 B
JavaScript

var _classCallCheck = require("@babel/runtime/helpers/classCallCheck.js");
let Foo = function Foo() {
"use strict";
_classCallCheck(this, Foo);
};