Skip to content

Commit a166a7f

Browse files
ronalfyahmadawais
authored andcommitted
👌 IMPROVE: Exclude i18n functions from Uglify for translations. (#182)
1 parent aba9636 commit a166a7f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/cgb-scripts/config/webpack.config.prod.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ module.exports = {
134134
},
135135
mangle: {
136136
safari10: true,
137+
except: ['__', '_n', '_x', '_nx' ],
137138
},
138139
output: {
139140
comments: false,

0 commit comments

Comments
 (0)