Maximum call stack size exceeded
Problem
Discussed in https://github.com/tailwindlabs/tailwindcss/discussions/8578 <div type='discussions-op-text'> <sup>Originally posted by jithureddy June 10, 2022</sup> Hi, Please help Just updated my project to latest `"tailwindcss": "^3.1.1"` and using create react app setup from here. It was working great with `"tailwindcss": "^3.0.4"`. [code block] <img width="816" alt="image" src="https://user-images.githubusercontent.com/5911189/173025695-b85732f2-9a53-4aa1-a8e4-a87042bff58f.png"> </div>
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Maximum call stack size exceeded
@jithureddy it looks like you are exporting the `wrapper` which is a function. This isn't supported and was nog supported in Tailwind 3.0 either. I'm also confused about why you want to deepMerge the tailwind config in the first place? The `extend` keyword allows you to merge it with the default config without doing full overrides. Looking at your config it should suffice to use [code block] An
Trust Score
1 verification
- 1
@jithureddy it looks like you are exporting the `wrapper` which is a function. T
@jithureddy it looks like you are exporting the `wrapper` which is a function. This isn't supported and was nog supported in Tailwind 3.0 either.
- 2
I'm also confused about why you want to deepMerge the tailwind config in the fir
I'm also confused about why you want to deepMerge the tailwind config in the first place? The `extend` keyword allows you to merge it with the default config without doing full overrides.
- 3
Looking at your config it should suffice to use
[code block]
- 4
And drop all of this:
[code block]
Validation
Resolved in tailwindlabs/tailwindcss GitHub issue #8582. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep