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

tsconfig.build.jsonexclude"src/**/*.test.ts" "!src/**/__snapshots__" を足す #45

Open
mizdra opened this issue Nov 8, 2023 · 0 comments
Labels
Type: Change Change existing functionality.

Comments

@mizdra
Copy link
Owner

mizdra commented Nov 8, 2023

  • 今はテスト関連のファイルがビルド対象に含まれてしまっているせいで、dist 配下にもテスト関連のファイルが出力されている
  • その結果、 package.json の files field で npm publish の対象に含まれないようケアしないといけなくなってる
  • そもそもこれらをビルドの対象に含めなければ、files field でフィルタする必要もないはず
  • よって tsconfig.build.jsonexclude"src/**/*.test.ts" "!src/**/__snapshots__" を足したい
@mizdra mizdra added the Type: Change Change existing functionality. label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Change Change existing functionality.
Projects
None yet
Development

No branches or pull requests

1 participant