Closed seancdavis closed 3 years ago
Thanks Sean! Good work! I’ll release that on NPM asap. I’ll need to make a PR to https://github.com/netlify/plugins so the new version is used when installing via the Netlify UI.
Do you have public netlify build logs by any chance? Would love if we could use a deploy of your website as an example of a successful deploy with the new version (see Test plan in this PR).
@Tom-Bonnike Woohoo — thanks for merging!
There is a log using my fork (which is the same code here) for the most recent build on my site. My netlify.toml
file uses index.html
as the fileFilter
and ["!*"]
as the directoryFilter
, which then only processed the home page.
This effectively took my builds from about 7 minutes down to 2 minutes, where this plugin only ran for a few seconds.
Ended up making some minor changes so I tested with my own website. You can follow https://github.com/netlify/plugins/pull/215 to know when you can get rid of the forked plugin your netlify.toml :)
This adds support for setting the
fileFilter
anddirectoryFilter
in the project'snetlify.toml
file.I also added a
.prettierrc
file with settings that it seemed like you're using. And I rannpm install
, which is why there are changes topackage-lock.json
. I kept both of these changes as their own commits in case you wanted to remove them.