2023-09-12 03:05:11 +00:00
|
|
|
import { createVanillaExtractPlugin } from '@vanilla-extract/next-plugin';
|
|
|
|
|
|
2024-04-03 22:16:16 -05:00
|
|
|
const withVanillaExtract = createVanillaExtractPlugin({ test: /\.css$/ });
|
2023-09-12 03:05:11 +00:00
|
|
|
|
2023-09-07 01:13:03 +00:00
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
|
const nextConfig = {
|
2024-01-10 15:27:14 -06:00
|
|
|
...withVanillaExtract({
|
|
|
|
|
webpack: (config) => {
|
|
|
|
|
config.module.rules.push({
|
|
|
|
|
test: /\.glsl$/,
|
|
|
|
|
type: 'asset/source',
|
|
|
|
|
});
|
|
|
|
|
return config;
|
|
|
|
|
},
|
|
|
|
|
}),
|
2023-09-24 18:56:32 -05:00
|
|
|
|
2023-09-24 18:49:01 -05:00
|
|
|
distDir: 'dist/website',
|
2023-11-11 20:51:48 -06:00
|
|
|
reactStrictMode: false,
|
2023-09-07 01:13:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default nextConfig;
|