Skip to content

Commit

Permalink
ignore english
Browse files Browse the repository at this point in the history
  • Loading branch information
yairans committed Feb 16, 2020
1 parent 7495fc7 commit 30bafee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion webpack.config.ott.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ const plugins = [
}),
new CopyPlugin([{
from: '../node_modules/@playkit-js/playkit-js-ui/translations',
ignore: ['en.i18n.json'],
transform: function(content) {
// minify json
return JSON.stringify(JSON.parse(content));
},
to: 'translations',
to: 'translations'
}])
];

Expand Down
3 changes: 2 additions & 1 deletion webpack.config.ovp.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ const plugins = [
}),
new CopyPlugin([{
from: '../node_modules/@playkit-js/playkit-js-ui/translations',
ignore: ['en.i18n.json'],
transform: function(content) {
// minify json
return JSON.stringify(JSON.parse(content));
},
to: 'translations',
to: 'translations'
}])
];

Expand Down

0 comments on commit 30bafee

Please sign in to comment.