Closed dmitrystas closed 4 months ago
it looks like we should to replace
with
import { requireFromString, importFromString } from 'module-from-string';
and
with something like this
workspaceConfig = (await importFromString(transpile.outputText)).default;
Thanks for the question and the solution. This is resolved in latest version.
Plugin doesn't work properly (shows all default props instead defined ones) when I use tailwind.config.ts, but works fine with tailwind.config.js
There is a very simple config, just for a test
tailwind.config.ts
tailwind.config.js