22 lines
440 B
JavaScript
22 lines
440 B
JavaScript
/** @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
|