Skip to content

Commit

Permalink
Silence dynamic import() warnings in tests (#11279)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Mar 18, 2020
1 parent f405cd8 commit 78ace99
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"validateLogs": true,
"presets": [
[
"env",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Dynamic import can only be supported when transforming ES modules to AMD, CommonJS or SystemJS. Only the parser plugin will be enabled.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"caller": {
"name": "test-fixture",
"supportsStaticESM": true,
"supportsDynamicImport": true,
"supportsTopLevelAwait": true
},
"presets": ["env"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"caller": {
"name": "test-fixture",
"supportsStaticESM": true,
"supportsDynamicImport": true,
"supportsTopLevelAwait": false
},
"presets": ["env"],
Expand Down

0 comments on commit 78ace99

Please sign in to comment.