Commit d3a37b5
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.1 parent c9a6898 commit d3a37b5
193 files changed
Lines changed: 4547 additions & 4548 deletions
File tree
- packages
- babel-plugin-transform-modules-commonjs/test/fixtures
- interop-loose
- imports-hoisting
- multi-load
- interop
- imports-hoisting
- multi-load
- babel-plugin-transform-regenerator/test/fixtures/regression/T7041
- babel-plugin-transform-runtime
- src
- test/fixtures
- absoluteRuntime
- relative
- true
- runtime-corejs2
- aliased-constructors
- catch-all
- class
- es6-for-of
- evaluated-static-methods
- full
- math
- modules-helpers
- modules
- regenerator-runtime
- symbol-iterator-in
- symbol-iterator
- runtime-corejs3
- aliased-constructors
- built-in-globals-proposals
- built-in-globals
- built-in-instance-methods-proposals
- built-in-instance-methods
- built-in-static-methods-proposals
- built-in-static-methods
- catch-all
- class
- es6-for-of
- evaluated-instance-methods
- evaluated-static-methods
- full
- instance-call
- instance-computed
- instance-get
- instance-inference-optimization
- modules-helpers
- modules-loose
- modules
- regenerator-runtime
- symbol-iterator-get-method
- symbol-iterator-get
- symbol-iterator-in
- symbol-iterator
- runtime
- class
- full
- modules-helpers
- modules
- regenerator-runtime
- use-options
- corejs-useES6Modules
- corejs
- useESModules-cjs-auto
- useESModules-cjs
- useESModules-mjs-auto
- useESModules-mjs
- babel-preset-env
- src
- test/fixtures
- corejs2
- entry-all
- entry-chrome-48
- entry-chrome-49
- entry-chrome-66
- entry-chrome-71
- entry-chromeandroid
- entry-core-js-main-require
- entry-core-js-main
- entry-electron
- entry-ie-11
- entry-ie-9
- entry-import
- entry-node-10.13
- entry-node-web
- entry-node
- entry-require
- entry-shippedProposals
- exclude-built-ins
- exclude-include
- exclude-regenerator
- force-all-transforms
- include-built-ins
- usage-all
- usage-browserslist-config-ignore
- usage-evaluated-class-methods
- usage-evaluated-instance-methods
- usage-evaluated-not-confident
- usage-for-of-destructure-with
- usage-instance-methods-native-support
- usage-instance-methods
- usage-modules-transform
- usage-native-support
- usage-number-ie-11
- usage-promise-all
- usage-promise-finally
- usage-promise-race
- usage-regenerator-used-async
- usage-regenerator-used-generator
- usage-shippedProposals
- usage-source-type-script-query
- usage-source-type-script
- usage-symbol-iterator-in
- usage-symbol-iterator
- usage-timers
- usage-typed-array-static
- usage-typed-array
- usage-yield-star
- corejs3
- entry-all-chrome-71
- entry-all
- entry-chrome-48
- entry-chrome-49
- entry-chrome-66
- entry-chrome-71
- entry-chromeandroid
- entry-electron
- entry-entries-es-proposals-stage-chrome-71
- entry-entries-es-proposals-stage
- entry-entries-features-chrome-71
- entry-entries-features
- entry-entries-missed
- entry-entries-mixed-chrome-71
- entry-entries-mixed
- entry-entries-modules-chrome-71
- entry-entries-modules
- entry-entries-proposals-chrome-71
- entry-entries-proposals
- entry-entries-stable-chrome-71
- entry-entries-stable
- entry-entries-stage-chrome-71
- entry-entries-stage
- entry-entries-web-chrome-71
- entry-entries-web
- entry-ie-11
- entry-ie-9
- entry-import
- entry-node-10.13
- entry-node-11
- entry-node-web
- entry-node
- entry-normalization
- entry-require-all
- entry-require-es-chrome-71
- entry-require-es-proposals
- entry-require
- entry-stable-chrome-71
- entry-stable-samsung-8.2
- entry-stable
- exclude-built-ins
- exclude-include
- exclude-regenerator
- exclude
- force-all-transforms
- include-built-ins
- usage-all-proposals-chrome-71
- usage-all-proposals
- usage-all
- usage-browserslist-config-ignore
- usage-built-in-from-global-object
- usage-destructuring-assignment
- usage-destructuring-catch
- usage-destructuring-for-x
- usage-destructuring-iife
- usage-destructuring-params
- usage-destructuring-variable-declaration
- usage-determanated-instance-methods
- usage-dynamic-import
- usage-evaluated-class-methods
- usage-evaluated-instance-methods
- usage-fetch
- usage-for-of-destructure-with
- usage-for-of
- usage-instance-methods
- usage-in
- usage-modules-transform
- usage-number-ie-11
- usage-object-destructuring
- usage-promise-all
- usage-promise-finally
- usage-promise-race
- usage-regenerator-used-async-native-support
- usage-regenerator-used-async
- usage-regenerator-used-generator
- usage-shippedProposals
- usage-source-type-script-query
- usage-source-type-script
- usage-spread
- usage-static-methods
- usage-symbol-iterator-in
- usage-symbol-iterator
- usage-timers
- usage-typed-array-edge-13
- usage-typed-array-static
- usage-typed-array
- usage-yield-star
- babel-runtime-corejs2/helpers
- esm
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
| 294 | + | |
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
| 357 | + | |
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| |||
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
430 | | - | |
| 430 | + | |
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
| 442 | + | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
463 | | - | |
| 463 | + | |
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
0 commit comments