feat(*): add require.js optimization support