Improve editor history, CAD tools, and ruler workflows

This commit is contained in:
Formsmith
2026-07-14 09:43:37 +03:00
parent 20731043e4
commit 400c4bf86e
23 changed files with 1727 additions and 388 deletions
+4 -1
View File
@@ -8,6 +8,10 @@ const extraAllowedDevOrigins = (process.env.SKETCHFORGE_ALLOWED_DEV_ORIGINS ?? "
const nextConfig: NextConfig = {
devIndicators: false,
// Keep the live development compiler isolated from `next build`. Sharing
// `.next` lets a production verification build invalidate chunks used by a
// running dev server, which also breaks API routes such as project snapshots.
distDir: isStaticExport ? ".next-export" : process.env.NODE_ENV === "development" ? ".next-dev" : ".next",
allowedDevOrigins: ["localhost", "127.0.0.1", ...extraAllowedDevOrigins],
env: {
NEXT_PUBLIC_STATIC_EXPORT: isStaticExport ? "true" : "false",
@@ -29,7 +33,6 @@ const nextConfig: NextConfig = {
...(isStaticExport
? {
output: "export" as const,
distDir: ".next-export",
trailingSlash: true,
}
: {}),