-
Notifications
You must be signed in to change notification settings - Fork 91
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
Cannot find modules (third-party libraries) with Yarn 3 #103
Comments
I face the exact same issue with Yarn3 PnP. Is there another way to get this working without opting out of Yarn PnP |
Did anyone find a workaround yet? This basically makes it unusable for our library since most generated types resolve to |
No workaround for this plugin, but you can chain a npm script that runs "dev": "yarn build-src -w & yarn build-dts --watch",
"build": "yarn build-src && yarn build-dts",
"build-src": "vite build",
"build-dts": "tsc --project tsconfig.dts.json" ./tsconfig.dts.json {
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": true,
"noEmit": false,
"emitDeclarationOnly": true,
"outDir": "dist"
}
"include": ["src"]
} |
Awesome, that works for me, thanks! Would be nice if the plugin could be updated to do the same. |
@qmhc this is occurring with yarn v3 and |
Seems now work correctly with yarn v4 at latest version. Could anybody do one more test to confirm whether this issue still exist? |
Greetings and thank you for this useful plugin.
I tried to you use your plugin with a Yarn 3 setup but it seems to struggle finding modules as there is no node_modules folder with Yarn 3. Any clue?
The text was updated successfully, but these errors were encountered: