diff --git a/app/tag-data.json b/app/tag-data.json index 7bacbaf..e35862a 100644 --- a/app/tag-data.json +++ b/app/tag-data.json @@ -1,20 +1 @@ -{ - "markdown": 1, - "code": 1, - "features": 1, - "next-js": 6, - "math": 1, - "ols": 1, - "github": 1, - "guide": 5, - "tailwind": 3, - "hello": 1, - "holiday": 1, - "canada": 1, - "images": 1, - "feature": 2, - "writings": 1, - "book": 1, - "reflection": 1, - "multi-author": 1 -} +{"markdown":1,"code":1,"features":1,"next-js":6,"math":1,"ols":1,"github":1,"guide":5,"tailwind":3,"holiday":1,"canada":1,"images":1,"feature":2,"writings":1,"book":1,"reflection":1,"multi-author":1} \ No newline at end of file diff --git a/next.config.js b/next.config.js index 31db627..c3bc48e 100644 --- a/next.config.js +++ b/next.config.js @@ -60,6 +60,7 @@ const securityHeaders = [ module.exports = () => { const plugins = [withContentlayer, withBundleAnalyzer] return plugins.reduce((acc, next) => next(acc), { + output: 'export', reactStrictMode: true, pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'], eslint: { @@ -72,15 +73,16 @@ module.exports = () => { hostname: 'picsum.photos', }, ], + unoptimized: true }, - async headers() { - return [ - { - source: '/(.*)', - headers: securityHeaders, - }, - ] - }, + // async headers() { + // return [ + // { + // source: '/(.*)', + // headers: securityHeaders, + // }, + // ] + // }, webpack: (config, options) => { config.module.rules.push({ test: /\.svg$/, diff --git a/package.json b/package.json index 1652403..fc6f011 100644 --- a/package.json +++ b/package.json @@ -69,4 +69,4 @@ ] }, "packageManager": "yarn@3.6.1" -} \ No newline at end of file +}