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.
This commit is contained in:
shimataro
2019-12-06 21:30:23 +09:00
committed by Nicolò Ribaudo
parent c9a68984d6
commit d3a37b5d08
193 changed files with 4547 additions and 4548 deletions

View File

@@ -1,4 +1,4 @@
var _classCallCheck = require("@babel/runtime/helpers/classCallCheck");
var _classCallCheck = require("@babel/runtime/helpers/classCallCheck.js");
let Foo = function Foo() {
"use strict";