chore: Remove optimize imports to allow vite upgrade (#5691)

This commit is contained in:
Tom Moor
2023-08-14 14:44:58 -04:00
committed by GitHub
parent a71ad43c31
commit b7bfc4bb1a
138 changed files with 207 additions and 171 deletions

View File

@@ -1,5 +1,5 @@
import { yDocToProsemirrorJSON } from "@getoutline/y-prosemirror";
import { uniq } from "lodash";
import uniq from "lodash/uniq";
import { Node } from "prosemirror-model";
import * as Y from "yjs";
import { sequelize } from "@server/database/sequelize";

View File

@@ -1,6 +1,6 @@
import path from "path";
import emojiRegex from "emoji-regex";
import { truncate } from "lodash";
import truncate from "lodash/truncate";
import mammoth from "mammoth";
import quotedPrintable from "quoted-printable";
import { Transaction } from "sequelize";

View File

@@ -1,4 +1,4 @@
import { uniq } from "lodash";
import uniq from "lodash/uniq";
import { QueryTypes } from "sequelize";
import { sequelize } from "@server/database/sequelize";
import Logger from "@server/logging/Logger";

View File

@@ -1,4 +1,4 @@
import { isUndefined } from "lodash";
import isUndefined from "lodash/isUndefined";
import { Transaction } from "sequelize";
import { Event, Notification } from "@server/models";

View File

@@ -1,4 +1,4 @@
import { has } from "lodash";
import has from "lodash/has";
import { Transaction } from "sequelize";
import { TeamPreference } from "@shared/types";
import env from "@server/env";

View File

@@ -1,4 +1,4 @@
import { uniqBy } from "lodash";
import uniqBy from "lodash/uniqBy";
import { Role } from "@shared/types";
import InviteEmail from "@server/emails/templates/InviteEmail";
import env from "@server/env";