We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8930ba6 commit 00ac75bCopy full SHA for 00ac75b
website/docs/en/config/lib/shims.mdx
@@ -86,6 +86,8 @@ Options:
86
87
### shims.esm.\_\_filename
88
89
+Whether to shim the global `__filename` of CommonJS in ESM output.
90
+
91
- **Default:** `false`
92
93
Options:
@@ -114,6 +116,8 @@ Options:
114
116
115
117
### shims.esm.\_\_dirname
118
119
+Whether to shim the global `__dirname` of CommonJS in ESM output.
120
121
122
123
@@ -141,6 +145,8 @@ Options:
141
145
142
146
### shims.esm.require
143
147
148
+Whether to shim the global `require` of CommonJS in ESM output.
149
144
150
151
152
0 commit comments