Closed #3331: Add source map support in ant build for main module