chore: add project configuration and build setup
This commit is contained in:
21
apps/fabrikanabytok/next.config.mjs
Normal file
21
apps/fabrikanabytok/next.config.mjs
Normal 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
|
||||
Reference in New Issue
Block a user