Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: Do not fail on prettier Errors during SSG build (#3857)

Ivan Starkov12062bbde316
diff --git a/fixtures/ssg/package.json b/fixtures/ssg/package.json
index d85531f695..0beefd8fa3 100644
--- a/fixtures/ssg/package.json
+++ b/fixtures/ssg/package.json
@@ -4,7 +4,7 @@
"description": "",
"scripts": {
"build": "vite build",
- "postbuild": "prettier --write .",
+ "postbuild": "prettier --write . || true",
"dev": "vite dev",
"typecheck": "tsc",
"cli": "NODE_OPTIONS='--conditions=webstudio --import=tsx' webstudio",