feat: some types

This commit is contained in:
TrèsAbhi committed 2024-09-07 21:56:57 -05:00
1 parent 5ab30c373e
commit 7b86c4e4eb
5 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
+1 -12
View File
@@ -5,7 +5,7 @@ const withVanillaExtract = createVanillaExtractPlugin({ tests: /\.css$/ });
/** @type {import('next').NextConfig} */
const nextConfig = {
...withVanillaExtract({
webpack: (config, { isServer }) => {
webpack: (config) => {
config.module.rules.push(
{
test: /\.glsl$/,
@@ -17,17 +17,6 @@ const nextConfig = {
},
);
// if (isServer) {
// writeFileSync(
// 'public/assets/versions.json',
// JSON.stringify(
// readdirSync('docs/changelogs').map((file) =>
// file.replace('.md', ''),
// ),
// ),
// );
// }
return config;
},
}),
File renamed without changes.
File renamed without changes.
+12 -1
View File
@@ -1,3 +1,14 @@
{
"extends": "../../tsconfig.json"
"extends": "../../tsconfig.json",
"compilerOptions": {
"plugins": [
{
"name": "next"
}
]
},
"include": [
"src/**/*",
"dist/website/types/**/*.ts"
]
}