Exclude some pages from production build

I have some test pages in my PWA which I don’t want in a production build.

Is it possible to exclude some pages in my PWA from being in www/build when using ionic build --prod while putting them into www/build when running ionic serve?

1 Like