feat: setup raw-loader for shaders

This commit is contained in:
2025-12-28 18:38:49 -03:00
parent 4ea26cb60c
commit 4b8af0955a
5 changed files with 908 additions and 0 deletions
+8
View File
@@ -4,6 +4,14 @@ const nextConfig: NextConfig = {
output: 'export',
/* config options here */
reactCompiler: true,
turbopack: {
rules: {
'*.{vert,frag}': {
loaders: ['raw-loader'],
as: '*.js'
}
}
}
};
export default nextConfig;