Skip to content

feat: support destructuring for import.meta.filename and import.meta.dirname#20066

Merged
alexander-akait merged 4 commits intomainfrom
destructuring
Oct 31, 2025
Merged

feat: support destructuring for import.meta.filename and import.meta.dirname#20066
alexander-akait merged 4 commits intomainfrom
destructuring

Conversation

@alexander-akait
Copy link
Copy Markdown
Member

Summary

destructuring for import.meta.filename and import.meta.dirname

What kind of change does this PR introduce?

refactoring and feature

Did you add tests for your changes?

Yes

Does this PR introduce a breaking change?

No

If relevant, what needs to be documented once your changes are merged or what have you already documented?

Nothing

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 30, 2025

This PR is packaged and the instant preview is available (8ef9075).

Install it locally:

  • npm
npm i -D https://pkg.pr.new/webpack@8ef9075
  • yarn
yarn add -D https://pkg.pr.new/webpack@8ef9075
  • pnpm
pnpm add -D https://pkg.pr.new/webpack@8ef9075

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Oct 30, 2025

CodSpeed Performance Report

Merging #20066 will degrade performances by 16.89%

Comparing destructuring (8ef9075) with main (b6e8c72)

Summary

❌ 1 regression
✅ 68 untouched

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
benchmark "three-long", scenario '{"name":"mode-production","mode":"production"}' 2.6 s 3.1 s -16.89%

@alexander-akait alexander-akait merged commit 78ddad1 into main Oct 31, 2025
90 of 92 checks passed
@alexander-akait alexander-akait deleted the destructuring branch October 31, 2025 11:32
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.

1 participant