mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
make sure the build version works
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
import {useExecutionsStore} from "../../stores/executions";
|
||||
import {usePlaygroundStore} from "../../stores/playground";
|
||||
import {useFlowStore} from "../../stores/flow";
|
||||
import {registerRemotes, registerShared, loadRemote, createInstance} from "@module-federation/enhanced/runtime";
|
||||
import {registerRemotes, registerShared, loadRemote} from "@module-federation/enhanced/runtime";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@@ -130,10 +130,6 @@
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
createInstance({
|
||||
name: "kestraHost",
|
||||
shared: {vue: {singleton: true}}
|
||||
})
|
||||
registerRemotes([
|
||||
{
|
||||
type: "module",
|
||||
|
||||
@@ -6,28 +6,6 @@ import {federation} from "@module-federation/vite";
|
||||
import {commit} from "./plugins/commit"
|
||||
import {codecovVitePlugin} from "@codecov/vite-plugin";
|
||||
|
||||
export const manualChunks = {
|
||||
// bundle dashboard and all its dependencies in a single chunk
|
||||
"dashboard": [
|
||||
"src/components/dashboard/Dashboard.vue",
|
||||
"src/components/dashboard/components/Create.vue",
|
||||
"src/override/components/dashboard/Edit.vue"
|
||||
],
|
||||
// bundle flows and all its dependencies in a second chunk
|
||||
"flows": [
|
||||
"src/components/flows/Flows.vue",
|
||||
"src/components/flows/FlowCreate.vue",
|
||||
"src/components/flows/FlowsSearch.vue",
|
||||
"src/components/flows/FlowRoot.vue"
|
||||
],
|
||||
"markdownDeps": [
|
||||
"shiki/langs/yaml.mjs",
|
||||
"shiki/langs/python.mjs",
|
||||
"shiki/langs/javascript.mjs",
|
||||
"src/utils/markdownDeps.ts"
|
||||
]
|
||||
}
|
||||
|
||||
export default defineConfig({
|
||||
base: "",
|
||||
build: {
|
||||
@@ -37,9 +15,6 @@ export default defineConfig({
|
||||
"https://fonts.googleapis.com",
|
||||
"https://fonts.gstatic.com"
|
||||
],
|
||||
output: {
|
||||
manualChunks
|
||||
}
|
||||
}
|
||||
},
|
||||
server: {
|
||||
|
||||
Reference in New Issue
Block a user