docsearch icon indicating copy to clipboard operation
docsearch copied to clipboard

chore: Switch Preact to be a devDep of '@docsearch/js'

Open rschristian opened this issue 1 year ago • 1 comments

As @docsearch/js inlines Preact into its bundle, there's no reason for it to be listed as a dependency. Package managers will install a copy of Preact alongside this module but it'll never be used.

Won't have any effect on usage, just strips out an unnecessary dependency for those consuming from NPM (as opposed to a CDN, which tend to be a bit smarter about this sort of thing).

rschristian avatar Apr 11 '25 06:04 rschristian

Deploy request for docsearch rejected.

Name Link
Latest commit 452ba6658e9608477088e759836cfe387af26df1

netlify[bot] avatar Apr 11 '25 06:04 netlify[bot]