index.html deliverables.
The Compilation Commands
You interact primarily through standard npm execution scripts running in your terminal:> Terminal
Pipeline Architecture Breakdown
When you runnpm run build, three discrete tools run consecutively:
1. UIKit Components Bundler (build-components.js)
It reads your squeditor.config.js, evaluates the components[] array, and cherry-picks the exact JS and CSS files out of node_modules/ to create uikit-components.css and uikit-components.js.
2. Vite SCSS/Tailwind Processor
Vite intercepts the CSS pipeline. It transpiles your SCSS architecture into pure CSS and executes Tailwind plugins via PostCSS based on yourtailwind.config.js.
3. The Snapshot Crawler (snapshot.js)
The snapshot crawler boots up a temporary local PHP server, visits every URL listed in your configuration, rewrites internal links, and saves flat .html files into the dist/ folder.
Modular Scripting Core
To make the framework “Developer Friendly,” the build system is powered by a modular utility layer insqueditor-framework/scripts/utils/:
core.js: Centralized configuration loading and common helpers (findPrettier,safeMkdir,stripDevContent).cli-ui.js: A standardized UI library for premium terminal output with progress bars, headers, and icons.