You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting errors when attempting to add this plugin to my tailwind.config.mjs file. I assume it's something incompatible with the CommonJS format of the imported file.
// @ts-check
import opentype from 'tailwindcss-opentype'
// ...
{
// ... rest of config here
plugins: [
opentype
]
}
The error is:
Type 'typeof import("/some/path/node_modules/tailwindcss-opentype/dist/index")' is not assignable to type 'PluginCreator | { handler: PluginCreator; config?: Partial<Config>; } | { (options: any): { handler: PluginCreator; config?: Partial<...>; }; __isOptionsFunction: true; }'.ts(2322)
The text was updated successfully, but these errors were encountered:
Hello, nice looking plugin, thank you!
I'm getting errors when attempting to add this plugin to my tailwind.config.mjs file. I assume it's something incompatible with the CommonJS format of the imported file.
The error is:
The text was updated successfully, but these errors were encountered: