============= Build Options ============= General processing options use **E-mc** functionality with :external+android:doc:`squared-express `. .. attention:: These examples are only relevant to the :target:`chrome` framework. Example usage ============= .. highlight:: javascript .. code-block:: :emphasize-lines: 4-7,33,44,56,67 squared.saveAs("index.zip", { productionRelease: true, // Ignore local URL rewriting and use actual path productionRelease: "/path/to/wwwroot/", // Move assets outside base directory to server root directory serverRootMapping: { "images/": "common/images", // output/images/ -> /path/to/wwwroot/common/images/ (move - no trailing slash) "images/png/": "main/data/" // output/images/png/ -> /path/to/wwwroot/main/data/images/png/ (append) }, productionIncremental: true, // Use cached data when processing transformed files preserveCrossOrigin: true, // Ignore local assets hosted on other domains preserveCrossOrigin: { // URLData hostname: "docs.github.com", pathname: "/repositories" }, useOriginalHtmlPage: false, // Use browser validated in memory static page DOM for build useOriginalHtmlPage: "textarea|code", // Ignore tags causing parsing errors useUnsafeReplace: "html", // Use when there are no element tags inside comments and