Files
blitzkit/next.config.js
T

34 lines
686 B
JavaScript
Raw Normal View History

2023-09-12 03:05:11 +00:00
import { createVanillaExtractPlugin } from '@vanilla-extract/next-plugin';
2024-04-03 22:28:12 -05:00
const withVanillaExtract = createVanillaExtractPlugin({ tests: /\.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
2024-06-05 13:40:45 -05:00
async headers() {
return [
{
source: '/(.*)?',
headers: [{ key: 'X-Frame-Options', value: 'DENY' }],
},
];
},
2023-09-24 18:49:01 -05:00
distDir: 'dist/website',
reactStrictMode: false,
2024-06-17 12:28:07 -05:00
experimental: {
workerThreads: false,
},
2023-09-07 01:13:03 +00:00
};
export default nextConfig;