user
08/13/2025, 1:05 PMgrails dev war
For some builds, I’d like to exclude asset files. I tried using the following command:
RUN ./grailsw -Dgrails.env=[env] -Dgrails.war.exploded=true -Dgrails.assets.excludes="**/*.js,**/*.css,**/*.ts,**/*.scss,**/*.sass" war
However, this command does not actually exclude the assets.
Is there another way to exclude assets through the command line?jdaugherty
08/13/2025, 4:26 PM-PmyProperty=foo is typically how these are done. Then in your asset configuration you simply use that propertyjdaugherty
08/13/2025, 4:27 PM