chore: Remove optimize imports to allow vite upgrade (#5691)
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
import { find, findIndex, remove, uniq } from "lodash";
|
||||
import find from "lodash/find";
|
||||
import findIndex from "lodash/findIndex";
|
||||
import remove from "lodash/remove";
|
||||
import uniq from "lodash/uniq";
|
||||
import randomstring from "randomstring";
|
||||
import { Identifier, Transaction, Op, FindOptions } from "sequelize";
|
||||
import {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { compact, uniq } from "lodash";
|
||||
import compact from "lodash/compact";
|
||||
import uniq from "lodash/uniq";
|
||||
import randomstring from "randomstring";
|
||||
import type { SaveOptions } from "sequelize";
|
||||
import {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import crypto from "crypto";
|
||||
import { isEmpty } from "lodash";
|
||||
import isEmpty from "lodash/isEmpty";
|
||||
import { SaveOptions } from "sequelize";
|
||||
import {
|
||||
Column,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { isNil } from "lodash";
|
||||
import isNil from "lodash/isNil";
|
||||
import vaults from "@server/database/vaults";
|
||||
import Logger from "@server/logging/Logger";
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
import path from "path";
|
||||
import { glob } from "glob";
|
||||
import Router from "koa-router";
|
||||
import { find, sortBy } from "lodash";
|
||||
import find from "lodash/find";
|
||||
import sortBy from "lodash/sortBy";
|
||||
import env from "@server/env";
|
||||
import Team from "@server/models/Team";
|
||||
|
||||
|
||||
@@ -3,7 +3,8 @@ import {
|
||||
yDocToProsemirrorJSON,
|
||||
} from "@getoutline/y-prosemirror";
|
||||
import { JSDOM } from "jsdom";
|
||||
import { escapeRegExp, startCase } from "lodash";
|
||||
import escapeRegExp from "lodash/escapeRegExp";
|
||||
import startCase from "lodash/startCase";
|
||||
import { Node } from "prosemirror-model";
|
||||
import * as Y from "yjs";
|
||||
import textBetween from "@shared/editor/lib/textBetween";
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import removeMarkdown from "@tommoor/remove-markdown";
|
||||
import invariant from "invariant";
|
||||
import { find, map } from "lodash";
|
||||
import find from "lodash/find";
|
||||
import map from "lodash/map";
|
||||
import queryParser from "pg-tsquery";
|
||||
import { Op, QueryTypes, WhereOptions } from "sequelize";
|
||||
import { DateFilter } from "@shared/types";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { size } from "lodash";
|
||||
import size from "lodash/size";
|
||||
import { addAttributeOptions } from "sequelize-typescript";
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { size } from "lodash";
|
||||
import size from "lodash/size";
|
||||
import { Node } from "prosemirror-model";
|
||||
import { addAttributeOptions } from "sequelize-typescript";
|
||||
import { ProsemirrorData } from "@shared/types";
|
||||
|
||||
Reference in New Issue
Block a user