Improve treeshaking
This commit is contained in:
parent
af0d34b155
commit
b0c41d556a
|
@ -16,6 +16,6 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* 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 =
|
export let VencordCreateElement =
|
||||||
(...args) => (VencordCreateElement = Vencord.Webpack.Common.React.createElement)(...args);
|
(...args) => (VencordCreateElement = Vencord.Webpack.Common.React.createElement)(...args);
|
||||||
|
|
|
@ -24,7 +24,7 @@ export const REACT_GLOBAL = "Vencord.Webpack.Common.React";
|
||||||
export const VENCORD_USER_AGENT = `Vencord/${gitHash}${gitRemote ? ` (https://github.com/${gitRemote})` : ""}`;
|
export const VENCORD_USER_AGENT = `Vencord/${gitHash}${gitRemote ? ` (https://github.com/${gitRemote})` : ""}`;
|
||||||
|
|
||||||
// Add yourself here if you made a plugin
|
// Add yourself here if you made a plugin
|
||||||
export const Devs = Object.freeze({
|
export const Devs = /* #__PURE__*/ Object.freeze({
|
||||||
Ven: {
|
Ven: {
|
||||||
name: "Vendicated",
|
name: "Vendicated",
|
||||||
id: 343383572805058560n
|
id: 343383572805058560n
|
||||||
|
|
Loading…
Reference in a new issue