Skip to content

Commit

Permalink
docs(next-plugin): Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
syfxlin authored Oct 29, 2023
1 parent 636ccde commit 5394f37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/next-plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export const createVanillaExtractPlugin = (
dir,
resolvedNextConfig.experimental?.appDir ?? false,
);
// Skip nextConfig check since appDir is stable feature after Next.js 13.4
const hasAppDir = !!(findPagesDirResult && findPagesDirResult.appDir);

const outputCss = hasAppDir
Expand Down

0 comments on commit 5394f37

Please sign in to comment.