mirror of https://github.com/certd/certd
chore:
parent
b50739e064
commit
d8a52c0be3
|
@ -39,5 +39,6 @@ module.exports = {
|
||||||
"@certd/plugin-host",
|
"@certd/plugin-host",
|
||||||
"@certd/plugin-tencent",
|
"@certd/plugin-tencent",
|
||||||
"@certd/plugin-util",
|
"@certd/plugin-util",
|
||||||
|
"@certd/plugin-center",
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,59 +0,0 @@
|
||||||
import { defineConfig } from "vite";
|
|
||||||
import visualizer from "rollup-plugin-visualizer";
|
|
||||||
import typescript from "@rollup/plugin-typescript";
|
|
||||||
// https://vitejs.dev/config/
|
|
||||||
|
|
||||||
export default defineConfig({
|
|
||||||
plugins: [],
|
|
||||||
build: {
|
|
||||||
lib: {
|
|
||||||
entry: "src/index.ts",
|
|
||||||
name: "CertdPluginAll",
|
|
||||||
},
|
|
||||||
rollupOptions: {
|
|
||||||
plugins: [
|
|
||||||
// @ts-ignore
|
|
||||||
visualizer(),
|
|
||||||
// @ts-ignore
|
|
||||||
typescript({
|
|
||||||
target: "esnext",
|
|
||||||
rootDir: "src",
|
|
||||||
declaration: true,
|
|
||||||
declarationDir: "dist/d",
|
|
||||||
exclude: ["./node_modules/**", "./src/**/*.vue"],
|
|
||||||
allowSyntheticDefaultImports: true,
|
|
||||||
}),
|
|
||||||
],
|
|
||||||
external: [
|
|
||||||
"vue",
|
|
||||||
"lodash",
|
|
||||||
"dayjs",
|
|
||||||
"@certd/acme-client",
|
|
||||||
"@certd/pipeline",
|
|
||||||
"@certd/plugin-cert",
|
|
||||||
"@certd/plugin-aliyun",
|
|
||||||
"@certd/plugin-tencent",
|
|
||||||
"@certd/plugin-huawei",
|
|
||||||
"@certd/plugin-host",
|
|
||||||
"@certd/plugin-tencent",
|
|
||||||
"@certd/plugin-util",
|
|
||||||
"@certd/plugin-center",
|
|
||||||
],
|
|
||||||
output: {
|
|
||||||
globals: {
|
|
||||||
vue: "Vue",
|
|
||||||
lodash: "_",
|
|
||||||
dayjs: "dayjs",
|
|
||||||
"@certd/plugin-cert": "CertdPluginCert",
|
|
||||||
"@certd/acme-client": "CertdAcmeClient",
|
|
||||||
"@certd/pipeline": "CertdPluginPipeline",
|
|
||||||
"@certd/plugin-aliyun": "CertdPluginAliyun",
|
|
||||||
"@certd/plugin-host": "CertdPluginHost",
|
|
||||||
"@certd/plugin-huawei": "CertdPluginHuawei",
|
|
||||||
"@certd/plugin-util": "CertdPluginUtil",
|
|
||||||
"@certd/plugin-center": "CertdPluginCenter",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
});
|
|
|
@ -1,56 +0,0 @@
|
||||||
import { defineConfig } from "vite";
|
|
||||||
import visualizer from "rollup-plugin-visualizer";
|
|
||||||
import typescript from "@rollup/plugin-typescript";
|
|
||||||
// https://vitejs.dev/config/
|
|
||||||
export default defineConfig({
|
|
||||||
plugins: [],
|
|
||||||
build: {
|
|
||||||
lib: {
|
|
||||||
entry: "src/index.ts",
|
|
||||||
name: "pipeline",
|
|
||||||
},
|
|
||||||
rollupOptions: {
|
|
||||||
plugins: [
|
|
||||||
// @ts-ignore
|
|
||||||
visualizer(),
|
|
||||||
// @ts-ignore
|
|
||||||
typescript({
|
|
||||||
target: "esnext",
|
|
||||||
rootDir: "src",
|
|
||||||
declaration: true,
|
|
||||||
declarationDir: "dist/d",
|
|
||||||
exclude: ["./node_modules/**", "./src/**/*.vue"],
|
|
||||||
allowSyntheticDefaultImports: true,
|
|
||||||
}),
|
|
||||||
],
|
|
||||||
external: [
|
|
||||||
"vue",
|
|
||||||
"lodash",
|
|
||||||
"dayjs",
|
|
||||||
"@certd/acme-client",
|
|
||||||
"@certd/pipeline",
|
|
||||||
"@certd/plugin-cert",
|
|
||||||
"@certd/plugin-aliyun",
|
|
||||||
"@certd/plugin-tencent",
|
|
||||||
"@certd/plugin-huawei",
|
|
||||||
"@certd/plugin-host",
|
|
||||||
"@certd/plugin-tencent",
|
|
||||||
"@certd/plugin-util",
|
|
||||||
],
|
|
||||||
output: {
|
|
||||||
globals: {
|
|
||||||
vue: "Vue",
|
|
||||||
lodash: "_",
|
|
||||||
dayjs: "dayjs",
|
|
||||||
"@certd/plugin-cert": "CertdPluginCert",
|
|
||||||
"@certd/acme-client": "CertdAcmeClient",
|
|
||||||
"@certd/pipeline": "CertdPluginPipeline",
|
|
||||||
"@certd/plugin-aliyun": "CertdPluginAliyun",
|
|
||||||
"@certd/plugin-host": "CertdPluginHost",
|
|
||||||
"@certd/plugin-huawei": "CertdPluginHuawei",
|
|
||||||
"@certd/plugin-util": "CertdPluginUtil",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
});
|
|
|
@ -1 +1 @@
|
||||||
export * from "./demo"
|
export * from "./demo/index"
|
Loading…
Reference in New Issue