Revert "Do not initialize assets on precompile"

i18n-js requires the environment is initalized

This reverts commit 90657aa591d496349c7eae9ece566e9f65bf4ea8.