1
0
mirror of https://github.com/kremalicious/ipfs.git synced 2024-11-21 17:27:06 +01:00

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:react-hooks/recommended",
"plugin:@next/next/recommended" "plugin:@next/next/recommended"
], ],
"plugins": ["@typescript-eslint", "react", "@next/next"], "plugins": ["@typescript-eslint", "react"],
"rules": { "rules": {
"react/prop-types": "off", "react/prop-types": "off",
"@typescript-eslint/explicit-function-return-type": "off" "@typescript-eslint/explicit-function-return-type": "off"

1
.gitignore vendored
View File

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

View File

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