mirror of
https://github.com/different-ai/openwork
synced 2026-04-26 01:25:10 +02:00
* 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>
24 lines
523 B
JavaScript
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);
|