This commit is contained in:
xiaoxiaojx 2025-10-03 21:52:35 +08:00
parent bbcf095dd9
commit 7d37ce4a0e
4 changed files with 26 additions and 27 deletions

View File

@ -315,8 +315,7 @@
"spacek", "spacek",
"thelarkinn", "thelarkinn",
"behaviour", "behaviour",
"WHATWG", "WHATWG"
"systemvars"
], ],
"ignoreRegExpList": [ "ignoreRegExpList": [
"/Author.+/", "/Author.+/",

View File

@ -1121,7 +1121,7 @@ export interface FileCacheOptions {
*/ */
export interface DotenvPluginOptions { export interface DotenvPluginOptions {
/** /**
* The directory from which .env files are loaded. Defaults to the webpack context. Loads .env, .env.local, .env.[mode], .env.[mode].local in order. * The directory from which .env files are loaded. Can be an absolute path, or a path relative to the project root. false will disable the .env file loading.
*/ */
dir?: boolean | string; dir?: boolean | string;
/** /**

View File

@ -1,9 +1,9 @@
<div align="center"> <div align="center">
<a href="https://github.com/webpack/webpack"> <a href="https://github.com/webpack/webpack">
<img width="200" height="200" src="https://webpack.js.org/assets/icon-square-big.svg"> <img width="200" height="200" src="https://webpack.js.org/assets/icon-square-big.svg">
</a> </a>
<br> <br>
<br> <br>
[![npm][npm]][npm-url] [![npm][npm]][npm-url]
@ -22,10 +22,10 @@
[![discord](https://img.shields.io/discord/1180618526436888586?label=discord&logo=discord&logoColor=white&style=flat)](https://discord.gg/5sxFZPdx2k) [![discord](https://img.shields.io/discord/1180618526436888586?label=discord&logo=discord&logoColor=white&style=flat)](https://discord.gg/5sxFZPdx2k)
[![LFX Health Score](https://insights.linuxfoundation.org/api/badge/health-score?project=webpack)](https://insights.linuxfoundation.org/project/webpack) [![LFX Health Score](https://insights.linuxfoundation.org/api/badge/health-score?project=webpack)](https://insights.linuxfoundation.org/project/webpack)
<h1>webpack</h1> <h1>webpack</h1>
<p> <p>
Webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset. Webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.
</p> </p>
</div> </div>
## Table of Contents ## Table of Contents
@ -36,14 +36,14 @@
- [Contributing](#contributing) - [Contributing](#contributing)
- [Support](#support) - [Support](#support)
- [Current project members](#current-project-members) - [Current project members](#current-project-members)
- [TSC (Technical Steering Committee)](#tsc-technical-steering-committee) - [TSC (Technical Steering Committee)](#tsc-technical-steering-committee)
- [Core Collaborators](#core-collaborators) - [Core Collaborators](#core-collaborators)
- [Sponsoring](#sponsoring) - [Sponsoring](#sponsoring)
- [Premium Partners](#premium-partners) - [Premium Partners](#premium-partners)
- [Gold Sponsors](#gold-sponsors) - [Gold Sponsors](#gold-sponsors)
- [Silver Sponsors](#silver-sponsors) - [Silver Sponsors](#silver-sponsors)
- [Bronze Sponsors](#bronze-sponsors) - [Bronze Sponsors](#bronze-sponsors)
- [Backers](#backers) - [Backers](#backers)
- [Special Thanks](#special-thanks-to) - [Special Thanks](#special-thanks-to)
## Install ## Install
@ -303,15 +303,15 @@ For information about the governance of the webpack project, see [GOVERNANCE.md]
### TSC (Technical Steering Committee) ### TSC (Technical Steering Committee)
- [alexander-akait](https://github.com/alexander-akait) - - [alexander-akait](https://github.com/alexander-akait) -
**Alexander Akait** <<sheo13666q@gmail.com>> (he/him) **Alexander Akait** <<sheo13666q@gmail.com>> (he/him)
- [evenstensberg](https://github.com/evenstensberg) - - [evenstensberg](https://github.com/evenstensberg) -
**Even Stensberg** <<evenstensberg@gmail.com>> (he/him) **Even Stensberg** <<evenstensberg@gmail.com>> (he/him)
- [ovflowd](https://github.com/ovflowd) - - [ovflowd](https://github.com/ovflowd) -
**Claudio Wunder** <<cwunder@gnome.org>> (he/they) **Claudio Wunder** <<cwunder@gnome.org>> (he/they)
- [snitin315](https://github.com/snitin315) - - [snitin315](https://github.com/snitin315) -
**Nitin Kumar** <<snitin315@gmail.com>> (he/him) **Nitin Kumar** <<snitin315@gmail.com>> (he/him)
- [thelarkinn](https://github.com/thelarkinn) - - [thelarkinn](https://github.com/thelarkinn) -
**Sean Larkin** <<selarkin@microsoft.com>> (he/him) **Sean Larkin** <<selarkin@microsoft.com>> (he/him)
### Maintenance ### Maintenance
@ -671,4 +671,4 @@ Before we started using OpenCollective, donations were made anonymously. Now tha
[dependency-review-url]: https://github.com/webpack/webpack/actions/workflows/dependency-review.yml [dependency-review-url]: https://github.com/webpack/webpack/actions/workflows/dependency-review.yml
[dependency-review]: https://github.com/webpack/webpack/actions/workflows/dependency-review.yml/badge.svg [dependency-review]: https://github.com/webpack/webpack/actions/workflows/dependency-review.yml/badge.svg
[cover]: https://codecov.io/gh/webpack/webpack/graph/badge.svg?token=mDP3mQJNnn [cover]: https://codecov.io/gh/webpack/webpack/graph/badge.svg?token=mDP3mQJNnn
[cover-url]: https://codecov.io/gh/webpack/webpack [cover-url]: https://codecov.io/gh/webpack/webpack

4
types.d.ts vendored
View File

@ -4428,7 +4428,7 @@ declare class DotenvPlugin {
constructor(options?: DotenvPluginOptions); constructor(options?: DotenvPluginOptions);
config: { config: {
/** /**
* The directory from which .env files are loaded. Defaults to the webpack context. Loads .env, .env.local, .env.[mode], .env.[mode].local in order. * The directory from which .env files are loaded. Can be an absolute path, or a path relative to the project root. false will disable the .env file loading.
*/ */
dir?: string | boolean; dir?: string | boolean;
/** /**
@ -4464,7 +4464,7 @@ declare class DotenvPlugin {
*/ */
declare interface DotenvPluginOptions { declare interface DotenvPluginOptions {
/** /**
* The directory from which .env files are loaded. Defaults to the webpack context. Loads .env, .env.local, .env.[mode], .env.[mode].local in order. * The directory from which .env files are loaded. Can be an absolute path, or a path relative to the project root. false will disable the .env file loading.
*/ */
dir?: string | boolean; dir?: string | boolean;