Skip to content
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

maybe regression introduced by v3.6.1 #279

Closed
3 tasks done
Shana-AE opened this issue Oct 26, 2023 · 1 comment
Closed
3 tasks done

maybe regression introduced by v3.6.1 #279

Shana-AE opened this issue Oct 26, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Shana-AE
Copy link

Describe the bug

After updated to v3.6.1, I found some d.ts files or js files were missing but is ok with v3.6.0 even when v3.6.0 moduleResolution has been set.
升级到3.6.1后发现有些d.ts文件或js文件未生成, 但3.6.0正常, 手动设置moduleResolution时也能输出d.ts

v3.6.1版本
https://stackblitz.com/edit/vitejs-vite-x9dszy?file=packages%2Ftypes%2Fdist%2Findex.d.ts

v3.6.0版本
https://stackblitz.com/edit/vitejs-vite-skadh5?file=internal%2Fbuild%2Fpackage.json

Reproduction

https://stackblitz.com/edit/vitejs-vite-x9dszy?file=packages%2Ftypes%2Fdist%2Findex.d.ts

Steps to reproduce

in each project

  • run pnpm install
  • cd to internal/build
  • run pnpm build
  • see packages/types/dist/

System Info

System:
    OS: macOS 13.0.1
    CPU: (8) arm64 Apple M1
    Memory: 64.09 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.17.1 - ~/.nvm/versions/node/v18.17.1/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 9.6.7 - ~/.nvm/versions/node/v18.17.1/bin/npm
    pnpm: 8.3.0 - ~/Library/pnpm/pnpm
  Browsers:
    Safari: 16.1
  npmPackages:
    @vitejs/plugin-vue2: ^2.2.0 => 2.2.0 
    @vitejs/plugin-vue2-jsx: ^1.1.0 => 1.1.0 
    vite: ^4.4.9 => 4.4.11 
    vite-plugin-dts: ^3.6.1 => 3.6.1

Validations

@qmhc qmhc added the bug Something isn't working label Oct 27, 2023
@qmhc qmhc closed this as completed in fc1209c Oct 27, 2023
@qmhc
Copy link
Owner

qmhc commented Oct 27, 2023

谢谢反馈。

不过希望以后能提供一个更小的复现(当前包含很多与 issue 无关的其他依赖),可以有效提高定位和修复的效率,同时减轻大家的负担 😂。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants