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",
"thelarkinn",
"behaviour",
"WHATWG",
"systemvars"
"WHATWG"
],
"ignoreRegExpList": [
"/Author.+/",

View File

@ -1121,7 +1121,7 @@ export interface FileCacheOptions {
*/
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;
/**

View File

@ -1,9 +1,9 @@
<div align="center">
<a href="https://github.com/webpack/webpack">
<img width="200" height="200" src="https://webpack.js.org/assets/icon-square-big.svg">
</a>
<br>
<br>
<a href="https://github.com/webpack/webpack">
<img width="200" height="200" src="https://webpack.js.org/assets/icon-square-big.svg">
</a>
<br>
<br>
[![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)
[![LFX Health Score](https://insights.linuxfoundation.org/api/badge/health-score?project=webpack)](https://insights.linuxfoundation.org/project/webpack)
<h1>webpack</h1>
<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.
</p>
<h1>webpack</h1>
<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.
</p>
</div>
## Table of Contents
@ -36,14 +36,14 @@
- [Contributing](#contributing)
- [Support](#support)
- [Current project members](#current-project-members)
- [TSC (Technical Steering Committee)](#tsc-technical-steering-committee)
- [Core Collaborators](#core-collaborators)
- [TSC (Technical Steering Committee)](#tsc-technical-steering-committee)
- [Core Collaborators](#core-collaborators)
- [Sponsoring](#sponsoring)
- [Premium Partners](#premium-partners)
- [Gold Sponsors](#gold-sponsors)
- [Silver Sponsors](#silver-sponsors)
- [Bronze Sponsors](#bronze-sponsors)
- [Backers](#backers)
- [Premium Partners](#premium-partners)
- [Gold Sponsors](#gold-sponsors)
- [Silver Sponsors](#silver-sponsors)
- [Bronze Sponsors](#bronze-sponsors)
- [Backers](#backers)
- [Special Thanks](#special-thanks-to)
## Install
@ -303,15 +303,15 @@ For information about the governance of the webpack project, see [GOVERNANCE.md]
### TSC (Technical Steering Committee)
- [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) -
**Even Stensberg** <<evenstensberg@gmail.com>> (he/him)
**Even Stensberg** <<evenstensberg@gmail.com>> (he/him)
- [ovflowd](https://github.com/ovflowd) -
**Claudio Wunder** <<cwunder@gnome.org>> (he/they)
**Claudio Wunder** <<cwunder@gnome.org>> (he/they)
- [snitin315](https://github.com/snitin315) -
**Nitin Kumar** <<snitin315@gmail.com>> (he/him)
**Nitin Kumar** <<snitin315@gmail.com>> (he/him)
- [thelarkinn](https://github.com/thelarkinn) -
**Sean Larkin** <<selarkin@microsoft.com>> (he/him)
**Sean Larkin** <<selarkin@microsoft.com>> (he/him)
### 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]: 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-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);
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;
/**
@ -4464,7 +4464,7 @@ declare class DotenvPlugin {
*/
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;