Skip to content

Commit 00ac75b

Browse files
committed
up
1 parent 8930ba6 commit 00ac75b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

website/docs/en/config/lib/shims.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ Options:
8686
8787
### shims.esm.\_\_filename
8888
89+
Whether to shim the global `__filename` of CommonJS in ESM output.
90+
8991
- **Default:** `false`
9092
9193
Options:
@@ -114,6 +116,8 @@ Options:
114116
115117
### shims.esm.\_\_dirname
116118
119+
Whether to shim the global `__dirname` of CommonJS in ESM output.
120+
117121
- **Default:** `false`
118122
119123
Options:
@@ -141,6 +145,8 @@ Options:
141145
142146
### shims.esm.require
143147
148+
Whether to shim the global `require` of CommonJS in ESM output.
149+
144150
- **Default:** `false`
145151
146152
Options:

0 commit comments

Comments
 (0)