diff --git a/package.json b/package.json index 25609aa..3e65c6d 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "dist:all": "electron-builder --config electron-builder.config.js -mwl", "download-tools": "node scripts/download-tools.js", "bundle:markitdown": "node scripts/bundle-markitdown.js", + "build:bundle": "node scripts/build-flowchart-bundle.js", "generate-icons": "node scripts/generate-icons.js" }, "keywords": [ diff --git a/scripts/build-flowchart-bundle.js b/scripts/build-flowchart-bundle.js new file mode 100644 index 0000000..bf19180 --- /dev/null +++ b/scripts/build-flowchart-bundle.js @@ -0,0 +1,160 @@ +#!/usr/bin/env node +// v4.13.1 — Flowchart bundle generator. +// +// Reads the pure modules from src/flowchart/ and the unique "tail" +// (controller bootstrap + modal helpers + node-list panel) from +// src/renderer/flowchart-bundle-tail.js, then concatenates them into +// the final src/renderer/flowchart-bundle.js that the standalone +// BrowserWindow loads as a single