feat: js next config

This commit is contained in:
TrèsAbhi committed 2024-04-03 22:16:16 -05:00
1 parent 3322fa97d4
commit 3362e3b091
1 file changed
+1 -1
+21
View File
@@ -0,0 +1,21 @@
import { createVanillaExtractPlugin } from '@vanilla-extract/next-plugin';
const withVanillaExtract = createVanillaExtractPlugin({ test: /\.css$/ });
/** @type {import('next').NextConfig} */
const nextConfig = {
...withVanillaExtract({
webpack: (config) => {
config.module.rules.push({
test: /\.glsl$/,
type: 'asset/source',
});
return config;
},
}),
distDir: 'dist/website',
reactStrictMode: false,
};
export default nextConfig;