-
Notifications
You must be signed in to change notification settings - Fork 11
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
Chore: Tailwind config preset and TS migration #1273
Conversation
…to nicholas/chore/plugin-and-ts-2024-05-02
…to nicholas/chore/plugin-and-ts-2024-05-02
…to nicholas/chore/plugin-and-ts-2024-05-02
✅ Deploy Preview for prefect-design ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -32,12 +32,10 @@ | |||
".": { | |||
"import": "./dist/prefect-design.mjs", | |||
"require": "./dist/prefect-design.umd.js" | |||
}, | |||
"./dist/style.css": "./dist/style.css", |
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.
Downstream applications will need to update their reference to this file
…to nicholas/chore/plugin-and-ts-2024-05-02
install(app: App) { | ||
installs.forEach(install => install(app)) | ||
layouts.forEach(install => install(app)) | ||
plugins.forEach(install => install(app)) | ||
}, | ||
} | ||
} satisfies Plugin |
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.
Just wanted to use satisfies? Lol
While a chore, this PR includes some notable changes:
/dist
- this is a convenience for downstream consumers to allow better file discovery/not limit to exports in/dist
.cjs
syntaxpresets
syntax (a plugin still exists for adding utilities but this doesn't need to be consumed by downstream applications anymore)