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