Closed heeplr closed 3 years ago
hi @heeplr nice idea if it solves your problem which I'm sure is valid, I think we would want to make this optional/configurable since I believe as you say, the _site
folder is not hardcoded so a user can output to a different folder than _site
This should prevent webpack being run in subdirectories of _site/ and should solve issue #3 where 3rd party plugins run the post_write hook multiple times for different directories.
It works for me™ at the moment and probably shouldn't be merged without changes.
(I don't know anything about jekyll plugin development but I guess the "_site" shouldn't be hardcoded.)