File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ blurDataURL={image.blurDataUrl ?? undefined}
6060If you already have images in your media collection, you might want to generate blurDataUrls for them.
6161
6262To do so:
63- 1 . Place [ this script] ( scripts/generateBlurDataUrls .ts ) on your ` ./src/scripts/ directory ` .
63+ 1 . Place [ this script] ( / scripts/blurDataUrlsMigrationScript .ts) on your ` ./src/scripts/ directory ` .
64642 . Make sure you have ` tsx ` installed either globally or on your project. You can uninstall it after running the script.
65653 . Modify the plugin configuration ** on the script** . You'll be able to set the blur options + which collections to migrate.
66664 . Run the script: `` tsx ./src/scripts/blurDataUrlsMigrationScript.ts ``
67675 . Let it cook.
6868
6969## Credits
70- * Shoutout to [ Paul] ( https://github.com/paulpopus ) for being a real one.
70+ * Shoutout to [ Paul] ( https://github.com/paulpopus ) for being a real one.
You can’t perform that action at this time.
0 commit comments