Created
March 29, 2023 19:47
-
-
Save bradcerasani/633b55a2b89af5b2dd7f73cfecefad9f to your computer and use it in GitHub Desktop.
patches
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/node_modules/@vanilla-extract/next-plugin/dist/vanilla-extract-next-plugin.cjs.dev.js b/node_modules/@vanilla-extract/next-plugin/dist/vanilla-extract-next-plugin.cjs.dev.js | |
index 09e1996..fc27553 100644 | |
--- a/node_modules/@vanilla-extract/next-plugin/dist/vanilla-extract-next-plugin.cjs.dev.js | |
+++ b/node_modules/@vanilla-extract/next-plugin/dist/vanilla-extract-next-plugin.cjs.dev.js | |
@@ -43,7 +43,8 @@ const createVanillaExtractPlugin = (pluginOptions = {}) => (nextConfig = {}) => | |
isServer, | |
isDevelopment: dev, | |
future: nextConfig.future || {}, | |
- experimental: nextConfig.experimental || {} | |
+ experimental: nextConfig.experimental || {}, | |
+ hasAppDir: nextConfig.experimental.appDir | |
}, () => css.lazyPostCSS(dir, getSupportedBrowsers(dir, dev)), []) | |
}); | |
config.plugins.push(new webpackPlugin.VanillaExtractPlugin({ | |
diff --git a/node_modules/@vanilla-extract/next-plugin/dist/vanilla-extract-next-plugin.cjs.prod.js b/node_modules/@vanilla-extract/next-plugin/dist/vanilla-extract-next-plugin.cjs.prod.js | |
index 09e1996..fc27553 100644 | |
--- a/node_modules/@vanilla-extract/next-plugin/dist/vanilla-extract-next-plugin.cjs.prod.js | |
+++ b/node_modules/@vanilla-extract/next-plugin/dist/vanilla-extract-next-plugin.cjs.prod.js | |
@@ -43,7 +43,8 @@ const createVanillaExtractPlugin = (pluginOptions = {}) => (nextConfig = {}) => | |
isServer, | |
isDevelopment: dev, | |
future: nextConfig.future || {}, | |
- experimental: nextConfig.experimental || {} | |
+ experimental: nextConfig.experimental || {}, | |
+ hasAppDir: nextConfig.experimental.appDir | |
}, () => css.lazyPostCSS(dir, getSupportedBrowsers(dir, dev)), []) | |
}); | |
config.plugins.push(new webpackPlugin.VanillaExtractPlugin({ | |
diff --git a/node_modules/@vanilla-extract/next-plugin/dist/vanilla-extract-next-plugin.esm.js b/node_modules/@vanilla-extract/next-plugin/dist/vanilla-extract-next-plugin.esm.js | |
index 83af576..d9237ad 100644 | |
--- a/node_modules/@vanilla-extract/next-plugin/dist/vanilla-extract-next-plugin.esm.js | |
+++ b/node_modules/@vanilla-extract/next-plugin/dist/vanilla-extract-next-plugin.esm.js | |
@@ -35,7 +35,8 @@ const createVanillaExtractPlugin = (pluginOptions = {}) => (nextConfig = {}) => | |
isServer, | |
isDevelopment: dev, | |
future: nextConfig.future || {}, | |
- experimental: nextConfig.experimental || {} | |
+ experimental: nextConfig.experimental || {}, | |
+ hasAppDir: nextConfig.experimental.appDir | |
}, () => lazyPostCSS(dir, getSupportedBrowsers(dir, dev)), []) | |
}); | |
config.plugins.push(new VanillaExtractPlugin({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/node_modules/next/dist/build/webpack/loaders/utils.js b/node_modules/next/dist/build/webpack/loaders/utils.js | |
index 9d21ac8..0b56eb3 100644 | |
--- a/node_modules/next/dist/build/webpack/loaders/utils.js | |
+++ b/node_modules/next/dist/build/webpack/loaders/utils.js | |
@@ -21,7 +21,7 @@ function isClientComponentModule(mod) { | |
const hasClientDirective = ((ref = mod.buildInfo.rsc) == null ? void 0 : ref.type) === _constants.RSC_MODULE_TYPES.client; | |
return hasClientDirective || imageRegex.test(mod.resource); | |
} | |
-const regexCSS = /\.(css|scss|sass)(\?.*)?$/; | |
+const regexCSS = /\.(css|scss|sass|css\.ts)(\?.*)?$/; | |
exports.regexCSS = regexCSS; | |
function getActions(mod) { | |
var ref; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment