- Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
The next code produces this error:
import transform from 'css-to-react-native-transform'; (async function () { const result = transform(".cl{}"); console.log(result); })().catch(err => { console.log("global error", err); }).finally(async () => { process.exit(0); }); But if I change transform(".cl{}"); to transform.default(".cl{}"); all works fine.
My project uses "type": "module" in package.json
I've created the new empty project with only above code and only one package in package.json - error still here.
Node version: 22.14.0
Metadata
Metadata
Assignees
Labels
No labels