mirror of
https://github.com/kremalicious/ipfs.git
synced 2024-11-21 09:17:05 +01:00
build fix
This commit is contained in:
parent
40d6560450
commit
bb65ade4da
@ -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
3
.gitignore
vendored
@ -4,4 +4,5 @@ npm-debug.log
|
||||
.next
|
||||
out
|
||||
build
|
||||
coverage
|
||||
coverage
|
||||
.env
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user