Run extract
and compile
when building for web
#3132
Merged
extract
and compile
when building for web
#3132