build: remove next.config.js

This commit is contained in:
Ivan Li 2021-07-04 12:25:57 +08:00
parent 72e2702f76
commit ad881bde93
2 changed files with 1 additions and 6 deletions

View File

@ -1,5 +0,0 @@
module.exports = {
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
return config;
},
};

View File

@ -4,7 +4,7 @@ import { GetServerSideProps } from "next";
import { addApolloState, initializeApollo } from "../../commons/graphql/client"; import { addApolloState, initializeApollo } from "../../commons/graphql/client";
import { ARTICLE } from "../../commons/graphql/queries"; import { ARTICLE } from "../../commons/graphql/queries";
import { Article } from "../../commons/graphql/generated"; import { Article } from "../../commons/graphql/generated";
import { format, formatRelative } from "date-fns"; import { formatRelative } from "date-fns";
import { zhCN } from "date-fns/locale"; import { zhCN } from "date-fns/locale";
interface Props { interface Props {
article: Article; article: Article;