[feature] add sync require and resolve support
[test] sync require and resolve