Skip to content

Commit 448406a

Browse files
authored
build: Remove build-specific polyfills (#8809)
It _seems_ they do not do anything - at least I compared the complete build ouput for node, core & browser with & without this, and it appeared _exactly_ the same. Not sure, maybe I missed something, it is not entirely clear to me how/what/when these would be applied etc.
1 parent e6e6ebf commit 448406a

12 files changed

+0
-590
lines changed

packages/utils/src/buildPolyfills/_createNamedExportFrom.ts

Lines changed: 0 additions & 45 deletions
This file was deleted.

packages/utils/src/buildPolyfills/_createStarExport.ts

Lines changed: 0 additions & 52 deletions
This file was deleted.

packages/utils/src/buildPolyfills/_interopDefault.ts

Lines changed: 0 additions & 37 deletions
This file was deleted.

packages/utils/src/buildPolyfills/_interopNamespace.ts

Lines changed: 0 additions & 45 deletions
This file was deleted.

packages/utils/src/buildPolyfills/_interopNamespaceDefaultOnly.ts

Lines changed: 0 additions & 43 deletions
This file was deleted.

packages/utils/src/buildPolyfills/_interopRequireDefault.ts

Lines changed: 0 additions & 42 deletions
This file was deleted.

packages/utils/src/buildPolyfills/_interopRequireWildcard.ts

Lines changed: 0 additions & 55 deletions
This file was deleted.
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
export { _asyncNullishCoalesce } from './_asyncNullishCoalesce';
22
export { _asyncOptionalChain } from './_asyncOptionalChain';
33
export { _asyncOptionalChainDelete } from './_asyncOptionalChainDelete';
4-
export { _createNamedExportFrom } from './_createNamedExportFrom';
5-
export { _createStarExport } from './_createStarExport';
6-
export { _interopDefault } from './_interopDefault';
7-
export { _interopNamespace } from './_interopNamespace';
8-
export { _interopNamespaceDefaultOnly } from './_interopNamespaceDefaultOnly';
9-
export { _interopRequireDefault } from './_interopRequireDefault';
10-
export { _interopRequireWildcard } from './_interopRequireWildcard';
114
export { _nullishCoalesce } from './_nullishCoalesce';
125
export { _optionalChain } from './_optionalChain';
136
export { _optionalChainDelete } from './_optionalChainDelete';

0 commit comments

Comments
 (0)