-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Don't bundle github-reserved-names
(switch to esbuild)
#196
Conversation
github-reserved-names
(switch to esbuild)
What a pain. I just wanted a tree-shaker of valid JavaScript code but that doesn't exist, tree-shaking is only a feature of bundlers and minifiers, neither of which is needed here. esbuild's drop-label is the closest I could get, but esbuild replaces |
@@ -3,9 +3,7 @@ | |||
export const testableUrls = new Map<string, string[]>(); | |||
|
|||
export function addTests(test: string, urls: string[]): void { |
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.
I also tried many variations of --pure
and --define
. I wasn't able to drop this addTests
helper from the source, it's needed to enable the tree-shaking
github-reserved-names
#194