11ty / eleventy-upgrade-help

Helper plugin when upgrading your Eleventy project to a new major version.
64 stars 3 forks source link

Should this plugin be running on every build or just once? #2

Closed WebShapedBiz closed 2 years ago

WebShapedBiz commented 2 years ago

Sorry for the stupid question but I don't get if I should run this plugin once and then remove it from the project, or should I leave it running as any other plugin.

Cheers.

paulshryock commented 2 years ago

should run this plugin once and then remove it from the project, or should I leave it running as any other plugin

@WebShapedBiz, it seems like this plugin is intended to be left running like a regular plugin (rather than run only once). However, I think it's mainly useful as a temporary assistance while upgrading to a major version until you have a chance to handle the changes yourself--then you would remove the plugin.

WebShapedBiz commented 2 years ago

I think I got it. Thank you for your time and effort @paulshryock

bobmonsour commented 1 year ago

The readme says: "After your upgrade is complete and you’ve removed all of the violations/warnings from your output, delete the plugin from your package.json and .eleventy.js configuration file."