Skip to content

Commit

Permalink
Bring back the potfile exclude option
Browse files Browse the repository at this point in the history
I accidentally removed this section while trying to get it working again.
We need this otherwise it can bring in unwanted translations in the pot file
  • Loading branch information
dtbaker committed Jan 17, 2023
1 parent 14ec0c8 commit 5a60d80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ module.exports = function( grunt ) {
options: {
potFilename: '<%= pkg.name %>.pot',
exclude: [

'docs/.*', // Exclude docs directory
'dist/<%= pkg.name %>/.*' // Exclude deploy directory
],
processPot: function( pot ) {
pot.headers['project-id-version'];
Expand Down

0 comments on commit 5a60d80

Please sign in to comment.