I currently have a problem excluding files from a progressive web app build, which are ending up in the service workers manifests. Specifically MacOS .DS_Store files and a sync utility (_gsdata_) folder in my resources folder.

By way of testing I included an 'exclude' in build.xml targeting 'Readme.md' with no success.


<target name="-before-init">
<echo>Setting build.operations...</echo>
<echo>app.dir=${app.dir}</echo>
<property name="build.operations">
exclude
-file=*Readme.md
</property>
</target>

Is this the correct approach?