Using publish directory locally for plugin development


I’m trying to build a plugin that reads all files in the publish directory to process them, but I’m not able to get the publish directory to work locally at all and the plugin doesn’t detect any files in it. Is there a way to get this working?

Note: netlify build doesn’t ask me for a publish directory and even after setting it on netlify.toml the plugin doesn’t detect any files (locally).


hi there, I am guessing by “plugin” you mean a “build plugin”? I have moved your post to a more appropriate place where you might get more answers.

Yes, I meant a build plugin. Thanks!

hey there, seems like we didn’t really have a great answer for you. Sorry about that! have you been able to make any progress with this you’d like to share?