gridsome.org icon indicating copy to clipboard operation
gridsome.org copied to clipboard

Package Upgrades

Open travis-r6s opened this issue 3 years ago • 4 comments

This upgrades all dependencies in package.json, and fixes two issues that came up as a result:

  • yaml.safeLoad has been replaced by yaml.load
  • Algolia SSR mixins have been renamed

travis-r6s avatar Feb 12 '21 17:02 travis-r6s

This looks very good, @thetre97. Thanks! One thing I noticed in the build log is that webpack-node-externals has changed the whitelistoption to allowlist. Would be nice if you can change it here :)

hjvedvik avatar Feb 12 '21 17:02 hjvedvik

Ah, good catch! Done

travis-r6s avatar Feb 12 '21 17:02 travis-r6s

I'll take a look at the next build error now as well 😏

travis-r6s avatar Feb 12 '21 17:02 travis-r6s

@hjvedvik I kept getting this error Could not generate HTML for "__plugins_id": TypeError: Cannot read property 'propsData' of undefined unless I removed the serverPrefetch function. It seems to work fine without it, but was it needed for something previously, presumably prefetching search results at build time?

travis-r6s avatar Feb 12 '21 23:02 travis-r6s