ITADN

File filtering doesn't work as expected.

#347Closedmicrorony 创建于 2025-01-13
M
microronycommented
I am working on a pretty big website with almost 3k HTML so the build is taking way longer when I include every page and the build is failing. I am now trying to include only the homepage in the build. Which I thought maybe I could add easily with the Exclude option. But it seems like not working as I expected. Can you please let me know if this is a bug or if I am missing something here? This completely ignores inlining CSS for the whole site. ```ts integrations: [ playformInline({ Exclude: [ (File) => File !== "./dist/index.html", ] }) ], ``` And this inlines every page including "./dist/index.html". ```ts integrations: [ playformInline({ Exclude: [ (File) => File === "./dist/index.html", ] }) ], ```
关闭于 2025-01-13 3 条评论