Skip to content

Commit

Permalink
ref!: Don't polyfill optional chaining and nullish coalescing
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst authored and mydea committed Dec 6, 2024
1 parent 7846b24 commit b9498ca
Show file tree
Hide file tree
Showing 19 changed files with 0 additions and 980 deletions.
6 changes: 0 additions & 6 deletions dev-packages/rollup-utils/npmHelpers.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { defineConfig } from 'rollup';
import {
makeCleanupPlugin,
makeDebugBuildStatementReplacePlugin,
makeExtractPolyfillsPlugin,
makeImportMetaUrlReplacePlugin,
makeNodeResolvePlugin,
makeRrwebBuildPlugin,
Expand Down Expand Up @@ -44,7 +43,6 @@ export function makeBaseNPMConfig(options = {}) {
const debugBuildStatementReplacePlugin = makeDebugBuildStatementReplacePlugin();
const importMetaUrlReplacePlugin = makeImportMetaUrlReplacePlugin();
const cleanupPlugin = makeCleanupPlugin();
const extractPolyfillsPlugin = makeExtractPolyfillsPlugin();
const rrwebBuildPlugin = makeRrwebBuildPlugin({
excludeShadowDom: undefined,
excludeIframe: undefined,
Expand Down Expand Up @@ -121,10 +119,6 @@ export function makeBaseNPMConfig(options = {}) {
],
};

if (addPolyfills) {
defaultBaseConfig.plugins.push(extractPolyfillsPlugin);
}

return deepMerge(defaultBaseConfig, packageSpecificConfig, {
// Plugins have to be in the correct order or everything breaks, so when merging we have to manually re-order them
customMerge: key => (key === 'plugins' ? mergePlugins : undefined),
Expand Down
214 changes: 0 additions & 214 deletions dev-packages/rollup-utils/plugins/extractPolyfillsPlugin.mjs

This file was deleted.

2 changes: 0 additions & 2 deletions dev-packages/rollup-utils/plugins/npmPlugins.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,3 @@ export function makeCodeCovPlugin() {
uploadToken: process.env.CODECOV_TOKEN,
});
}

export { makeExtractPolyfillsPlugin } from './extractPolyfillsPlugin.mjs';
30 changes: 0 additions & 30 deletions packages/core/src/utils-hoist/buildPolyfills/README.md

This file was deleted.

This file was deleted.

Loading

0 comments on commit b9498ca

Please sign in to comment.