Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: Improve bundling packages#17831

Open
liuxingbaoyu wants to merge 3 commits intobabel:mainfrom
liuxingbaoyu:improve-chunks
Open

chore: Improve bundling packages#17831
liuxingbaoyu wants to merge 3 commits intobabel:mainfrom
liuxingbaoyu:improve-chunks

Conversation

@liuxingbaoyu
Copy link
Member

Q                       A
Fixed Issues? Fixes #1, Fixes #2
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

Comment on lines +580 to +581
hoistTransitiveImports: false,
minifyInternalExports: false,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before:

export { D as DEFAULT_EXTENSIONS, F as File, d as buildExternalHelpers, e as createConfigItem, f as createConfigItemAsync, h as createConfigItemSync, g as getEnv, i as loadOptions, j as loadOptionsAsync, c as loadOptionsSync, k as loadPartialConfig, n as loadPartialConfigAsync, o as loadPartialConfigSync, y as parse, z as parseAsync, A as parseSync, a as resolvePlugin, b as resolvePreset, t as transform, q as transformAsync, u as transformFromAst, w as transformFromAstAsync, x as transformFromAstSync, s as transformSync, v as version } from './index-C7iABIJK.js';
import '#config/files';
import * as _t from '@babel/types';
export { _t as types };
export { tokTypes } from '@babel/parser';
export { default as traverse } from '@babel/traverse';
export { default as template } from '@babel/template';
export { transformFile, transformFileAsync, transformFileSync } from '#transform-file';
import '@babel/helpers';
import '@babel/code-frame';
import 'semver';
import '@babel/generator';
import 'gensync';
import './caching-2iA7hK9v.js';
import 'node:path';
import 'node:fs';
import 'obug';
import 'convert-source-map';
import '@jridgewell/remapping';
import './errors/rewrite-stack-trace.js';
import './config/resolve-targets.js';
import '@babel/helper-compilation-targets';
import '#config/resolve-targets';
//# sourceMappingURL=index.js.map

after

export { DEFAULT_EXTENSIONS, File, buildExternalHelpers, createConfigItem, createConfigItemAsync, createConfigItemSync, getEnv, loadOptions, loadOptionsAsync, loadOptionsSync, loadPartialConfig, loadPartialConfigAsync, loadPartialConfigSync, parse, parseAsync, parseSync, resolvePlugin, resolvePreset, transform, transformAsync, transformFromAst, transformFromAstAsync, transformFromAstSync, transformSync, version } from './index-DI8Ce5EV.js';
import '#config/files';
import * as _t from '@babel/types';
export { _t as types };
export { tokTypes } from '@babel/parser';
export { default as traverse } from '@babel/traverse';
export { default as template } from '@babel/template';
export { transformFile, transformFileAsync, transformFileSync } from '#transform-file';
//# sourceMappingURL=index.js.map

@babel-bot
Copy link
Collaborator

babel-bot commented Feb 25, 2026

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/61027

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 25, 2026

Open in StackBlitz

commit: 8c8aa6f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants