From 89b7bfedac85f74f90eae384b309823e324d9ae3 Mon Sep 17 00:00:00 2001 From: 1ilsang <1ilsang@naver.com> Date: Sat, 2 Mar 2024 00:23:05 +0900 Subject: [PATCH] feat(next): Add config --- next.config.cjs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/next.config.cjs b/next.config.cjs index 561bbb46..cee2ab27 100644 --- a/next.config.cjs +++ b/next.config.cjs @@ -1,9 +1,8 @@ -/** @type {import('next').NextConfig} */ - // eslint-disable-next-line @typescript-eslint/no-var-requires const path = require('path'); -module.exports = { +/** @type {import('next').NextConfig} */ +const nextConfig = { experimental: { // this includes files from the monorepo base two directories up // outputFileTracingRoot: path.join(__dirname, "../../packages/content/posts"), @@ -16,3 +15,5 @@ module.exports = { includePaths: [path.join(__dirname, 'styles')], }, }; + +module.exports = nextConfig;