chore: Remove optimize imports to allow vite upgrade (#5691)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import JSZip from "jszip";
|
||||
import { omit } from "lodash";
|
||||
import omit from "lodash/omit";
|
||||
import { NavigationNode } from "@shared/types";
|
||||
import { parser } from "@server/editor";
|
||||
import env from "@server/env";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import fs from "fs";
|
||||
import { truncate } from "lodash";
|
||||
import truncate from "lodash/truncate";
|
||||
import { FileOperationState, NotificationEventType } from "@shared/types";
|
||||
import ExportFailureEmail from "@server/emails/templates/ExportFailureEmail";
|
||||
import ExportSuccessEmail from "@server/emails/templates/ExportSuccessEmail";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import JSZip from "jszip";
|
||||
import { escapeRegExp, find } from "lodash";
|
||||
import escapeRegExp from "lodash/escapeRegExp";
|
||||
import find from "lodash/find";
|
||||
import mime from "mime-types";
|
||||
import { Node } from "prosemirror-model";
|
||||
import { v4 as uuidv4 } from "uuid";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import JSZip from "jszip";
|
||||
import { escapeRegExp } from "lodash";
|
||||
import escapeRegExp from "lodash/escapeRegExp";
|
||||
import mime from "mime-types";
|
||||
import { v4 as uuidv4 } from "uuid";
|
||||
import documentImporter from "@server/commands/documentImporter";
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import path from "path";
|
||||
import JSZip from "jszip";
|
||||
import { compact, escapeRegExp } from "lodash";
|
||||
import compact from "lodash/compact";
|
||||
import escapeRegExp from "lodash/escapeRegExp";
|
||||
import mime from "mime-types";
|
||||
import { v4 as uuidv4 } from "uuid";
|
||||
import documentImporter from "@server/commands/documentImporter";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { S3 } from "aws-sdk";
|
||||
import { truncate } from "lodash";
|
||||
import truncate from "lodash/truncate";
|
||||
import {
|
||||
CollectionPermission,
|
||||
CollectionSort,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { subHours } from "date-fns";
|
||||
import { differenceBy } from "lodash";
|
||||
import differenceBy from "lodash/differenceBy";
|
||||
import { Op } from "sequelize";
|
||||
import { NotificationEventType } from "@shared/types";
|
||||
import { createSubscriptionsForDocument } from "@server/commands/subscriptionCreator";
|
||||
|
||||
Reference in New Issue
Block a user