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.
output.importMetaName
1 parent ebc80a8 commit 0ef46b6Copy full SHA for 0ef46b6
src/content/configuration/output.mdx
@@ -832,6 +832,23 @@ module.exports = {
832
};
833
```
834
835
+## output.importMetaName
836
+
837
+`string`
838
839
+The name of the native `import.meta` object (can be exchanged for a polyfill).
840
841
+**webpack.config.js**
842
843
+```javascript
844
+module.exports = {
845
+ //...
846
+ output: {
847
+ importMetaName: 'pseudoImport.meta',
848
+ },
849
+};
850
+```
851
852
## output.library
853
854
Output a library exposing the exports of your entry point.
0 commit comments