-
I'm running into an issue when migrating to Tailwind v4. I get the following error after running
I assume this has something to do with with the fact that I use presets to load in multiple config files. Like this: module.exports = {
presets: [
require('tailwindcss/defaultConfig'),
require('./tailwind.config.typography.js'),
require('./tailwind.config.peak.js'),
require('./tailwind.config.site.js'),
],
} Those linked files aren't empty. I'm wondering if there's a workaround currently to successfully migrate projects like this. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The error is not saying that any of them are empty. It is saying that there is at least one preset that has an empty tailwindcss/stubs/config.full.js Line 3 in f875ab9 |
Beta Was this translation helpful? Give feedback.
The error is not saying that any of them are empty. It is saying that there is at least one preset that has an empty
preset
property. For example,tailwindcss/defaultConfig
resolves to an object with an emptypreset
property:tailwindcss/stubs/config.full.js
Line 3 in f875ab9