diff --git a/.changeset/few-snails-yell.md b/.changeset/few-snails-yell.md new file mode 100644 index 000000000..7c0564fb0 --- /dev/null +++ b/.changeset/few-snails-yell.md @@ -0,0 +1,5 @@ +--- +'@vanilla-extract/next-plugin': patch +--- + +Prepare next-plugin for Next 13 App Dir support 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)), [],