Skip to content

Commit 1feb9bf

Browse files
committed
chore(deps): inline dotenv-expand
1 parent 9cb69c8 commit 1feb9bf

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎bun.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/wxt/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"chokidar": "^5.0.0",
3030
"consola": "^3.4.2",
3131
"defu": "^6.1.4",
32-
"dotenv-expand": "^13.0.0",
3332
"filesize": "^11.0.17",
3433
"giget": "^1.2.3 || ^2.0.0 || ^3.0.0",
3534
"hookable": "^6.1.0",
@@ -71,6 +70,7 @@
7170
"@types/normalize-path": "^3.0.2",
7271
"@types/picomatch": "^4.0.2",
7372
"@types/prompts": "^2.4.9",
73+
"dotenv-expand": "^13.0.0",
7474
"eslint": "^10.1.0",
7575
"extract-zip": "^2.0.1",
7676
"get-port-please": "^3.2.0",

‎packages/wxt/src/core/utils/env.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { expand } from 'dotenv-expand';
1+
import dotenvExpand from 'dotenv-expand';
22
import { existsSync, readFileSync } from 'node:fs';
33
import { parseEnv } from 'node:util';
44
import type { TargetBrowser } from '../../types';
@@ -37,7 +37,7 @@ export function loadEnv(mode: string, browser: TargetBrowser) {
3737
}),
3838
);
3939

40-
expand({
40+
dotenvExpand.expand({
4141
parsed,
4242
});
4343

‎packages/wxt/tsdown.config.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import { resolve } from 'node:path';
1818
// `dist/` dir mirrors the `src/` dir, making it easy to explore and patch.
1919

2020
const inlineDeps = [
21+
'dotenv-expand',
2122
'is-wsl',
2223
'get-port-please',
2324
'normalize-path',

0 commit comments

Comments
 (0)