build fix

This commit is contained in:
Matthias Kretschmann 2021-09-12 23:40:27 +02:00
parent 40d6560450
commit bb65ade4da
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 4 additions and 10 deletions

1
.env
View File

@ -1 +0,0 @@
NEXT_PUBLIC_TYPEKIT_ID=msu4qap

View File

@ -33,7 +33,7 @@
"plugin:react-hooks/recommended",
"plugin:@next/next/recommended"
],
"plugins": ["@typescript-eslint", "react", "@next/next"],
"plugins": ["@typescript-eslint", "react"],
"rules": {
"react/prop-types": "off",
"@typescript-eslint/explicit-function-return-type": "off"

3
.gitignore vendored
View File

@ -4,4 +4,5 @@ npm-debug.log
.next
out
build
coverage
coverage
.env

View File

@ -1,9 +1,3 @@
// @ts-check
/**
* @type {import('next').NextConfig}
**/
// eslint-disable-next-line no-unused-vars
const withSvgr = (nextConfig = {}, nextComposePlugins = {}) => {
return Object.assign({}, nextConfig, {
@ -33,4 +27,4 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true'
})
module.exports = withBundleAnalyzer(withSvgr)
module.exports = withSvgr(withBundleAnalyzer())