mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: some types
This commit is contained in:
1 parent
5ab30c373e
commit
7b86c4e4eb
5 files changed
+14
-14
No files matched your search
Vendored
+1
-1
@@ -2,4 +2,4 @@
|
|||||||
/// <reference types="next/image-types/global" />
|
/// <reference types="next/image-types/global" />
|
||||||
|
|
||||||
// NOTE: This file should not be edited
|
// 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.
|
||||||
@@ -5,7 +5,7 @@ const withVanillaExtract = createVanillaExtractPlugin({ tests: /\.css$/ });
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
...withVanillaExtract({
|
...withVanillaExtract({
|
||||||
webpack: (config, { isServer }) => {
|
webpack: (config) => {
|
||||||
config.module.rules.push(
|
config.module.rules.push(
|
||||||
{
|
{
|
||||||
test: /\.glsl$/,
|
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;
|
return config;
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
@@ -1,3 +1,14 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json"
|
"extends": "../../tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"plugins": [
|
||||||
|
{
|
||||||
|
"name": "next"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"include": [
|
||||||
|
"src/**/*",
|
||||||
|
"dist/website/types/**/*.ts"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user