Improve treeshaking

This commit is contained in:
Vendicated 2022-12-22 18:04:37 +01:00
parent af0d34b155
commit b0c41d556a
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905
2 changed files with 2 additions and 2 deletions

View file

@ -16,6 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
export const VencordFragment = Symbol.for("react.fragment");
export const VencordFragment = /* #__PURE__*/ Symbol.for("react.fragment");
export let VencordCreateElement =
(...args) => (VencordCreateElement = Vencord.Webpack.Common.React.createElement)(...args);

View file

@ -24,7 +24,7 @@ export const REACT_GLOBAL = "Vencord.Webpack.Common.React";
export const VENCORD_USER_AGENT = `Vencord/${gitHash}${gitRemote ? ` (https://github.com/${gitRemote})` : ""}`;
// Add yourself here if you made a plugin
export const Devs = Object.freeze({
export const Devs = /* #__PURE__*/ Object.freeze({
Ven: {
name: "Vendicated",
id: 343383572805058560n