fix require issue
precompiling assets