diff options
author | Vendicated <vendicated@riseup.net> | 2022-12-22 18:04:37 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-12-22 18:05:04 +0100 |
commit | b0c41d556a5d02befc239e42b67503e039b50049 (patch) | |
tree | 11cc08c43c02dcf1f1b45a255b11168bb2d203e5 | |
parent | af0d34b155006302eb3ac6caa434b53cef3c70dc (diff) | |
download | Vencord-b0c41d556a5d02befc239e42b67503e039b50049.tar.gz Vencord-b0c41d556a5d02befc239e42b67503e039b50049.tar.bz2 Vencord-b0c41d556a5d02befc239e42b67503e039b50049.zip |
Improve treeshaking
-rw-r--r-- | scripts/build/inject/react.mjs | 2 | ||||
-rw-r--r-- | src/utils/constants.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/inject/react.mjs b/scripts/build/inject/react.mjs index 1343b5f..591a25b 100644 --- a/scripts/build/inject/react.mjs +++ b/scripts/build/inject/react.mjs @@ -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); diff --git a/src/utils/constants.ts b/src/utils/constants.ts index aaf6e4d..d15615b 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -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 |