const path = require("path");
const withVideos = require("next-videos");

const projectRoot = __dirname;

/**
 * @type {import('next').NextConfig}
 */
const config = {
  // Workaround for https://github.com/vercel/next.js/issues/8251
  serverRuntimeConfig: {
    paths: {
      project: projectRoot,
      articles: path.join(projectRoot, "articles"),
      public: path.join(projectRoot, "public"),
    },
  },

  typescript: {
    tsconfigPath: "tsconfig.next.json",
  },
};

module.exports = withVideos(config);

@@ -161,16 +161,172 @@
 fig = %7B%0A
+  reactStrictMode: true,%0A%0A  experimental: %7B%0A    // TODO: remove these once they become stable%0A    scrollRestoration: true,%0A    legacyBrowsers: false,%0A  %7D,%0A%0A
   // Wor

update nextconfig