Update webpack.config.headless.js

This commit is contained in:
octoclonius
2024-01-13 19:54:27 -06:00
committed by GitHub
parent c0044dc4a5
commit d5827ec77d
+4 -2
View File
@@ -39,8 +39,10 @@ const config = {
path: path.resolve('./headless/lib-headless'),
library: {
type: 'commonjs'
}
},
// Force usage of globalThis instead of global / self. (This is cross-env compatible)
globalObject: 'globalThis',
},
mode: 'production'
mode: 'production',
};
module.exports = config;