Migrated from Create React App (CRA) to Vite for faster builds, better development experience, and improved SEO capabilities. This migration ensures proper Open Graph tag rendering for social media sharing.
src/index.js to src/main.jsx.js filesrequire() calls to ES6 importsBook Category Page:
/books route showcasing all published booksMeta Description Format:
Open Graph Tags:
require() with ES6 imports (shop.js, BookPage.js, ProductPage.js, books.js)Build Commands:
npm run build - Builds Vite app and generates sitemapnpm run preview - Starts preview server for testingnpm run prerender - Captures static HTML with OG tags (requires preview server)npm run dev - Start Vite dev server (replaces CRA start)Deployment:
build/ directory (same as before)This release represents a comprehensive modernization of the StoryBuild website, including SEO optimization, individual product/book pages, enhanced discoverability, and complete data architecture refactor.
/shop/cowboy-sam-his-dog-gus-artic-exploration)Product Categories:
/books/i-build-for-people)Published Books:
Schema.org Structured Data:
Sitemap & Robots:
sitemap.xml generated with 23 pages (3 static + 17 products + 3 books)robots.txt updated with sitemap referencenpm run generate-sitemapNew Analytics Service tracking:
New /src/data/ Directory:
products.json - All 17 products with complete metadatabooks.json - 3 books with chapters and ISBNscomics.json - Draw Your Own Adventure itemsproductImages.js - Centralized product image importsbookImages.js - Centralized book/chapter image importsREADME.md - Complete data structure documentationBenefits:
Before:
After:
Version: 2.0.0 | Released: October 13, 2025 | Status: Production Ready