Files
openwork/ee/apps/landing/next.config.js
Source Open c1e12a41fb feat(ui): add shared seeded paper gradients (#1288)
* feat(ui): add shared seeded paper gradients

Centralize the Paper mesh and grain wrappers so React and Solid apps can reuse the same deterministic seed-based visuals without repeating shader config. Add a standalone demo surface and update existing consumers so the shared package is easier to validate and evolve.

* fix(ui): resolve shared package from source

Point the shared UI package exports at source files so Next builds do not depend on a prebuilt dist directory. Add Next transpilation for @openwork/ui in Landing and Den Web so monorepo and Vercel builds resolve the package consistently.

---------

Co-authored-by: src-opn <src-opn@users.noreply.github.com>
2026-04-01 18:14:14 -07:00

24 lines
523 B
JavaScript

const { withBotId } = require("botid/next/config");
/** @type {import('next').NextConfig} */
const mintlifyOrigin = "https://differentai.mintlify.dev";
const nextConfig = {
reactStrictMode: true,
transpilePackages: ["@openwork/ui"],
async rewrites() {
return [
{
source: "/docs",
destination: `${mintlifyOrigin}/docs`,
},
{
source: "/docs/:match*",
destination: `${mintlifyOrigin}/docs/:match*`,
},
];
},
};
module.exports = withBotId(nextConfig);