File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 "@typescript-eslint/no-var-requires": "off",
4040 },
4141 },
42+ {
43+ "files": ["./next-env.d.ts"],
44+ "rules": {
45+ "@typescript-eslint/triple-slash-reference": "off",
46+ }
47+ }
4248 ],
4349}
Original file line number Diff line number Diff line change 11/// <reference types="next" />
22/// <reference types="next/image-types/global" />
3+ /// <reference path="./.next/types/routes.d.ts" />
34
45// NOTE: This file should not be edited
56// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
Original file line number Diff line number Diff line change 11/** @type {import('next').NextConfig } */
2-
3- // eslint-disable-next-line @typescript-eslint/no-var-requires
4- const withTM = require ( 'next-transpile-modules' ) ( [ '@react-chess/chessground' ] )
5-
6- module . exports = withTM ( {
2+ module . exports = {
3+ transpilePackages : [ '@react-chess/chessground' ] ,
74 reactStrictMode : false ,
85 output : 'standalone' ,
96 async redirects ( ) {
@@ -53,4 +50,4 @@ module.exports = withTM({
5350 ]
5451 } ,
5552 skipTrailingSlashRedirect : true ,
56- } )
53+ }
You can’t perform that action at this time.
0 commit comments