feat: setup raw-loader for shaders
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user