klaro-org / klaro-js

Klaro Privacy Manager. An open-source, privacy-friendly & compliant consent manager for your website.
https://klaro.org
Other
1.17k stars 249 forks source link

Fix build to use a defined global object ("this" instead of "self") #505

Open chpio opened 3 months ago

chpio commented 3 months ago

Hi, this changes one Webpack option, that makes it build with tools like Vite.

The globalObject option is set to "this", as "self" is not defined.