-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Prepare @glimmer/component for being published and remove @glimmer/env, using export conditions for dev and prod
#21558
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,8 @@ | |
| "@ember/owner": ["../../../types/stable/@ember/owner/index.d.ts"], | ||
| "@ember/destroyable": ["../../../types/stable/@ember/destroyable/index.d.ts"], | ||
| "@ember/component": ["../../../types/stable/@ember/component/index.d.ts"], | ||
| "@ember/runloop": ["../../../types/stable/@ember/runloop/index.d.ts"] | ||
| "@ember/runloop": ["../../../types/stable/@ember/runloop/index.d.ts"], | ||
| "@glimmer/env": ["../env/index.ts"] | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. so is this now lying? it's not got a dependency on
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it's types for build flags -- we removed the dep, but we still need type-checking to pass, and we compile it away |
||
| }, | ||
| "target": "esnext", | ||
| "module": "esnext", | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
aren't these a bit generic? I think by default Vite is setting
developmentin dev mode. If we're going to add something like this we shouldn't be doing this in the same PR that is fixing a breaking deployment