(chore) Add support for preact x - #48
Conversation
cristianbote
commented
Aug 28, 2019
This will fail until preactjs/preact#1901 is merged |
cristianbote
commented
Sep 10, 2019
This is gonna be working when preactjs/preact#1924 it's gonna get released |
cristianbote
commented
Oct 3, 2019
Also this updates the |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
developit
commented
Oct 7, 2019
Folks will be glad to have this working in X. One question still in my mind though: do we know why aliasing |
Awesome pointers! Co-Authored-By: Jason Miller <developit@users.noreply.github.com>
cristianbote
commented
Oct 7, 2019
Hey @developit that's a great point! Unfortunately it seems that the build size increases if I would add the imports by hand and re-export them. 🤷♂ |
jahilldev
commented
Jan 31, 2020
@cristianbote@marvinhagemeister Any ideas on when this might be released? Would really like to upgrade to Preact X. Many thanks |
cristianbote
commented
Jan 31, 2020
@jhdevuk it's awaiting Jason's review. It's on his todo list 👍 |
| let external = Object.keys(pkg.peerDependencies || {}).concat( | ||
| Object.keys(pkg.dependencies || {}) | ||
| Object.keys(pkg.dependencies || {}), 'preact/compat' |
There was a problem hiding this comment.
Including preact/compat completely defeats the purpose of this project, doesn't it? 😿
Ok, well, what are the alternatives? Where to get |
This adds support for
preact xbut depends on this PR frompreactpreactjs/preact#1901. After that's merged and released we could merge this one as well.Adds+3.71kB😞 more than double it's current sizeAdds+0.89kB😄 now we're talkingAdds
+0.98kB🤔