-
Notifications
You must be signed in to change notification settings - Fork 5
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
Re-add browser support via removing tsup #46
Re-add browser support via removing tsup #46
Conversation
|
||
// TS can't find declarations for this package (there aren't any) | ||
// @ts-ignore | ||
import decoratorSyntax from '@babel/plugin-syntax-decorators'; |
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.
the "fix" is actually just being less weird 🎉
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.
changed because vite-plugin-dts uses this file to determine how to format the output types, and I didn't want to change the package.json#exports
@@ -0,0 +1,14 @@ | |||
{ |
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.
old tsconfig.json copied here for swc-register to use
Related discussion:
Manual Testing (all successes):
pnpm test
pnpm dev:browser
(orpnpm vite
) -- see output as in Don't use node APIs (require) #37