Created
January 20, 2023 11:35
-
-
Save NicoZweifel/13991102a97d53524dfab5868c812444 to your computer and use it in GitHub Desktop.
@Vanilla-Extract+next-plugin+2.1.1.patch, next+13.1.3.patch
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 5c3625d..ed39414 100644 | |
| --- a/node_modules/next/dist/build/webpack/loaders/utils.js | |
| +++ b/node_modules/next/dist/build/webpack/loaders/utils.js | |
| @@ -18,7 +18,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; | |
| //# sourceMappingURL=utils.js.map | |
| \ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment