Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
moduleName
to overwrite polyfill provider preference
- Loading branch information
1 parent
efc4834
commit 812a856
Showing
10 changed files
with
19 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
...sform-runtime/test/fixtures/moduleName/core-js-in-helpers-with-polyfill-provider/input.js
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...orm-runtime/test/fixtures/moduleName/core-js-in-helpers-with-polyfill-provider/output.mjs
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...s/babel-plugin-transform-runtime/test/fixtures/moduleName/core-js-in-helpers/options.json
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...el-plugin-transform-runtime/test/fixtures/moduleName/overwrite-polyfill-provider/input.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
class A {} |
8 changes: 8 additions & 0 deletions
8
...lugin-transform-runtime/test/fixtures/moduleName/overwrite-polyfill-provider/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"sourceType": "module", | ||
"plugins": [ | ||
"transform-classes", | ||
["transform-runtime", { "moduleName": "lol" }], | ||
["babel-plugin-polyfill-corejs3", { "method": "usage-pure" }] | ||
] | ||
} |
5 changes: 5 additions & 0 deletions
5
...-plugin-transform-runtime/test/fixtures/moduleName/overwrite-polyfill-provider/output.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import _createClass from "lol/helpers/createClass"; | ||
import _classCallCheck from "lol/helpers/classCallCheck"; | ||
let A = /*#__PURE__*/_createClass(function A() { | ||
_classCallCheck(this, A); | ||
}); |