Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Ignore .spec.ts files when compiling #220
Conversation
To be clear, it looks like the problem is that we are publishing the spec file. This can also be solved in a different way, where test files are in a specific |
Thanks @jonchurch! |
Dumb question, but can we use the NPM config to ignore these files? Last I recall you couldn't combine |
Grrr, I've written, rewritten, and deleted this comment several times now. I'm not having any luck actually with |
@jonchurch Thanks for exploring! Sorry to put you through that. Let's merge and we can release as is. |
Thanks to @StephenTangCook for asking the question! |
We may need to revert this or do additional work. I realized the other week that by excluding these files, it’s not actually using the right settings for type checking. Not a problem right now, but we should probably have a specific build config instead of changing this one. |
Relates to #219
Assuming the
.spec.ts
file are not intended to be part of the distribution, they should be ignored when compiling.