-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typescript-require breaks VSCode extension #577
Comments
Hey @AndyOGo. I can't reproduce the issue, are you able to share your project? |
Hey @bradlc. I clarified the issue with a colleague. The problem only arises when we omit the I think enabling I tried that: require("ts-node").register({
preferTsExts: true,
});
const { colors } = require("./colors"); |
Seems to be a limitation of node itself according to that issue |
@bradlc Alright, now I got it working with Related issue: require("ts-node").register({
preferTsExts: true,
experimentalResolver: true,
});
const { colors } = require("./colors"); |
Found a fix for this so your original version should work in the next release 👍 |
Even better, thank you 👍 |
What version of Tailwind CSS IntelliSense are you using?
v0.8.6
What version of Tailwind CSS are you using?
v3.1.2
What package manager are you using?
What operating system are you using?
Redhat Linux
Describe your issue
I'm using
typescript-require
to load configurations in mytailwind.config.js
file, like:colors.ts
The text was updated successfully, but these errors were encountered: