Skip to content

Commit 349dce3

Browse files
committed
Build: Also minify i18n files.
1 parent 005709f commit 349dce3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build/build.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,12 @@
123123
<mapper type="glob" from="*.js" to="${min.dir}/*.min.js" />
124124
<targetfile/>
125125
</apply>
126+
<apply executable="build/minify-js.sh">
127+
<fileset dir="${dist.dir}/ui/i18n" includes="**.js" />
128+
<srcfile />
129+
<mapper type="glob" from="*.js" to="${min.dir}/i18n/*.min.js" />
130+
<targetfile/>
131+
</apply>
126132
<apply executable="java" parallel="false">
127133
<fileset dir="${dist.dir}/themes/base" includes="*.css" />
128134
<arg line="-jar" />

0 commit comments

Comments
 (0)