mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-14 06:42:51 +00:00
优化 eps
This commit is contained in:
parent
c5f5170f28
commit
1bf76c618b
2
packages/vite-plugin/dist/index.js
vendored
2
packages/vite-plugin/dist/index.js
vendored
@ -272,7 +272,7 @@
|
|||||||
`;
|
`;
|
||||||
if (!ignore.includes(item.name)) {
|
if (!ignore.includes(item.name)) {
|
||||||
ignore.push(item.name);
|
ignore.push(item.name);
|
||||||
t0 += t;
|
t0 += t + "\n\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return t0;
|
return t0;
|
||||||
|
|||||||
@ -32,6 +32,7 @@
|
|||||||
"@vue/compiler-sfc": "^3.4.24",
|
"@vue/compiler-sfc": "^3.4.24",
|
||||||
"axios": "^1.6.8",
|
"axios": "^1.6.8",
|
||||||
"glob": "^10.3.12",
|
"glob": "^10.3.12",
|
||||||
|
"lodash": "^4.17.21",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"magic-string": "^0.30.10",
|
"magic-string": "^0.30.10",
|
||||||
"prettier": "^3.2.5",
|
"prettier": "^3.2.5",
|
||||||
|
|||||||
8
packages/vite-plugin/pnpm-lock.yaml
generated
8
packages/vite-plugin/pnpm-lock.yaml
generated
@ -17,6 +17,9 @@ importers:
|
|||||||
glob:
|
glob:
|
||||||
specifier: ^10.3.12
|
specifier: ^10.3.12
|
||||||
version: 10.3.12
|
version: 10.3.12
|
||||||
|
lodash:
|
||||||
|
specifier: ^4.17.21
|
||||||
|
version: 4.17.21
|
||||||
lodash-es:
|
lodash-es:
|
||||||
specifier: ^4.17.21
|
specifier: ^4.17.21
|
||||||
version: 4.17.21
|
version: 4.17.21
|
||||||
@ -847,6 +850,9 @@ packages:
|
|||||||
lodash.merge@4.6.2:
|
lodash.merge@4.6.2:
|
||||||
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
|
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
|
||||||
|
|
||||||
|
lodash@4.17.21:
|
||||||
|
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
|
||||||
|
|
||||||
lru-cache@10.2.0:
|
lru-cache@10.2.0:
|
||||||
resolution: {integrity: sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==}
|
resolution: {integrity: sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==}
|
||||||
engines: {node: 14 || >=16.14}
|
engines: {node: 14 || >=16.14}
|
||||||
@ -1868,6 +1874,8 @@ snapshots:
|
|||||||
|
|
||||||
lodash.merge@4.6.2: {}
|
lodash.merge@4.6.2: {}
|
||||||
|
|
||||||
|
lodash@4.17.21: {}
|
||||||
|
|
||||||
lru-cache@10.2.0: {}
|
lru-cache@10.2.0: {}
|
||||||
|
|
||||||
lru-cache@6.0.0:
|
lru-cache@6.0.0:
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import { defineConfig } from "rollup";
|
|||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
input: ["src/index.ts"],
|
input: ["src/index.ts"],
|
||||||
|
|
||||||
external: ["lodash-es"],
|
external: ["lodash"],
|
||||||
|
|
||||||
output: {
|
output: {
|
||||||
name: "index",
|
name: "index",
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import { join } from "path";
|
import { join } from "path";
|
||||||
import { readFile, rootDir, writeFile, error } from "../utils";
|
import { readFile, rootDir, writeFile, error } from "../utils";
|
||||||
import { glob } from "glob";
|
import { glob } from "glob";
|
||||||
import { assign, cloneDeep, isEqual, orderBy } from "lodash-es";
|
import { assign, cloneDeep, isEqual, orderBy } from "lodash";
|
||||||
import { config } from "../config";
|
import { config } from "../config";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import { createDir, error, firstUpperCase, readFile, rootDir, toCamel } from "../utils";
|
import { createDir, error, firstUpperCase, readFile, rootDir, toCamel } from "../utils";
|
||||||
import { join } from "path";
|
import { join } from "path";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import { isArray, isEmpty, last, merge, values } from "lodash-es";
|
import { isArray, isEmpty, last, merge, values } from "lodash";
|
||||||
import { createWriteStream } from "fs";
|
import { createWriteStream } from "fs";
|
||||||
import prettier from "prettier";
|
import prettier from "prettier";
|
||||||
import { config } from "../config";
|
import { config } from "../config";
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import { config } from "./config";
|
|||||||
import { demo } from "./demo";
|
import { demo } from "./demo";
|
||||||
import { virtual } from "./virtual";
|
import { virtual } from "./virtual";
|
||||||
import type { Config } from "../types";
|
import type { Config } from "../types";
|
||||||
import { merge } from "lodash-es";
|
import { merge } from "lodash";
|
||||||
|
|
||||||
export function cool(options: Config.Options) {
|
export function cool(options: Config.Options) {
|
||||||
// 应用类型,admin | app
|
// 应用类型,admin | app
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user