init commit

This commit is contained in:
Carlos
2026-02-21 10:33:18 +01:00
parent c863a943ed
commit 9d955bf338
9512 changed files with 2015317 additions and 1305 deletions

View File

@@ -1,7 +1,22 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
webpack: (config, { isServer }) => {
// Ignore non-JavaScript files from node_modules
config.module.rules.push({
test: /\.md$/,
type: 'asset/source',
});
// Externalize @remotion packages on server to avoid bundling issues
if (isServer) {
config.externals.push('@remotion/bundler', '@remotion/renderer');
}
return config;
},
// Transpile Remotion packages if needed
transpilePackages: ['remotion', '@remotion/bundler', '@remotion/renderer'],
};
export default nextConfig;