-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fix ESM build issues with TSC #146
Conversation
], | ||
"exclude": [ | ||
"node_modules", | ||
"dist" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise TypeScript will try to build dist
again, but that results in errors since it's also writing to dist
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not really needed now that I've added rimraf
I guess, but it doesn't hurt to add it.
], | ||
"exclude": [ | ||
"node_modules", | ||
"dist" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"dist" | |
"dist", | |
"**/*.test.ts" |
], | ||
"exclude": [ | ||
"node_modules", | ||
"dist" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"dist" | |
"dist", | |
"**/*.test.ts" |
Temporary alternative for #144, which doesn't require bumping the Node.js version.