Skip to content

Commit 0a80996

Browse files
committed
chore: document dist/index.js usage
a little more performant
1 parent 79b0715 commit 0a80996

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Next, ensure you are preloading the plugin in your `bunfig.toml`:
2929

3030
```toml
3131
preload = [
32-
"./node_modules/bun-plugin-dotenvx/src/index.ts",
32+
"./node_modules/bun-plugin-dotenvx/dist/index.js",
3333
# ...
3434
]
3535
```

docs/examples/basic-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ bun install -d bun-plugin-dotenvx
1313
Then, add it to your `bunfig.toml`:
1414

1515
```toml
16-
preload = [ "./node_modules/bun-plugin-dotenvx/src/index.ts" ]
16+
preload = [ "./node_modules/bun-plugin-dotenvx/dist/index.js" ]
1717
```
1818

1919
## Create a .env File

docs/examples/command-substitution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ bun install -d bun-plugin-dotenvx
1313
Then, add it to your `bunfig.toml`:
1414

1515
```toml
16-
preload = [ "./node_modules/bun-plugin-dotenvx/src/index.ts" ]
16+
preload = [ "./node_modules/bun-plugin-dotenvx/dist/index.js" ]
1717
```
1818

1919
## Create a .env File with Command Substitution

docs/examples/encrypted-envs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ JWT_SECRET="encrypted:LKJlkjLKJlkjLKJlkjLKJlkjLKJlkjLKJlkjLKJlkjLKJlkjLKJlkjLKJl
5151
Add the plugin to your `bunfig.toml`:
5252

5353
```toml
54-
preload = [ "./node_modules/bun-plugin-dotenvx/src/index.ts" ]
54+
preload = [ "./node_modules/bun-plugin-dotenvx/dist/index.js" ]
5555
```
5656

5757
## Use in Your Code

docs/examples/variable-expansion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ bun install -d bun-plugin-dotenvx
1313
Then, add it to your `bunfig.toml`:
1414

1515
```toml
16-
preload = [ "./node_modules/bun-plugin-dotenvx/src/index.ts" ]
16+
preload = [ "./node_modules/bun-plugin-dotenvx/dist/index.js" ]
1717
```
1818

1919
## Create a .env File with Variable References

docs/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Add the plugin to your `bunfig.toml` file to preload it automatically:
4545

4646
```toml
4747
preload = [
48-
"./node_modules/bun-plugin-dotenvx/src/index.ts",
48+
"./node_modules/bun-plugin-dotenvx/dist/index.js",
4949
# ...other preloads
5050
]
5151
```

0 commit comments

Comments
 (0)