chore: add project configuration and build setup

This commit is contained in:
Gergely Hortobágyi
2025-11-28 20:46:45 +01:00
parent aeacf3c1b3
commit ac7021758d
7 changed files with 257 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
typescript: {
ignoreBuildErrors: true,
},
images: {
unoptimized: true,
},
webpack: (config) => {
// Handle GLSL shaders for Three.js
config.module.rules.push({
test: /\.(glsl|vs|fs|vert|frag)$/,
exclude: /node_modules/,
use: ['raw-loader', 'glslify-loader'],
})
return config
},
turbopack: {}
}
export default nextConfig