Prebundle XyFlow for linked module development
This commit is contained in:
@@ -79,7 +79,10 @@ function govoplanInstalledModulesPlugin(): Plugin {
|
||||
export default defineConfig({
|
||||
plugins: [govoplanInstalledModulesPlugin(), react()],
|
||||
optimizeDeps: {
|
||||
exclude: availableWebModuleSpecifiers()
|
||||
exclude: availableWebModuleSpecifiers(),
|
||||
// Dataflow is discovered through the virtual module registry, so Vite's
|
||||
// initial scan cannot see this CommonJS-backed transitive dependency.
|
||||
include: ["@xyflow/react"]
|
||||
},
|
||||
build: {
|
||||
// Full-product builds include the host shell plus all installed module wiring.
|
||||
|
||||
Reference in New Issue
Block a user