build: remove next.config.js
This commit is contained in:
parent
72e2702f76
commit
ad881bde93
@ -1,5 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
|
|
||||||
return config;
|
|
||||||
},
|
|
||||||
};
|
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user