From df09b8ff08f48cdd5f6feb09625d85cf63c39331 Mon Sep 17 00:00:00 2001 From: Paul Grau Date: Fri, 3 Mar 2023 20:09:46 +0900 Subject: [PATCH 1/3] add hasAppDir to next css loader config --- packages/next-plugin/src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/next-plugin/src/index.js b/packages/next-plugin/src/index.js index e26488095..2b07e61a5 100644 --- a/packages/next-plugin/src/index.js +++ b/packages/next-plugin/src/index.js @@ -44,6 +44,7 @@ export const createVanillaExtractPlugin = isDevelopment: dev, future: nextConfig.future || {}, experimental: nextConfig.experimental || {}, + hasAppDir: nextConfig.experimental?.appDir, }, () => lazyPostCSS(dir, getSupportedBrowsers(dir, dev)), [], From ec67be0d8987223d9c6ae5569d372a4974796367 Mon Sep 17 00:00:00 2001 From: Paul Grau Date: Fri, 3 Mar 2023 20:11:28 +0900 Subject: [PATCH 2/3] Add changeset --- .changeset/few-snails-yell.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/few-snails-yell.md diff --git a/.changeset/few-snails-yell.md b/.changeset/few-snails-yell.md new file mode 100644 index 000000000..00e388506 --- /dev/null +++ b/.changeset/few-snails-yell.md @@ -0,0 +1,5 @@ +--- +'@vanilla-extract/next-plugin': minor +--- + +Prepare next-plugin for Next 13 App Dir support From a94f01b10d3dc4935985d8d49af8224136aed09b Mon Sep 17 00:00:00 2001 From: mattcompiles Date: Mon, 3 Apr 2023 11:26:59 +1000 Subject: [PATCH 3/3] Update .changeset/few-snails-yell.md --- .changeset/few-snails-yell.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/few-snails-yell.md b/.changeset/few-snails-yell.md index 00e388506..7c0564fb0 100644 --- a/.changeset/few-snails-yell.md +++ b/.changeset/few-snails-yell.md @@ -1,5 +1,5 @@ --- -'@vanilla-extract/next-plugin': minor +'@vanilla-extract/next-plugin': patch --- Prepare next-plugin for Next 13 App Dir support