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:
committed by
Nicolò Ribaudo
parent
c9a68984d6
commit
d3a37b5d08
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user