require.config({ paths: { 'oldEcharts': 'tmp/oldEcharts', 'newEcharts': 'tmp/newEcharts' } });
info at phpclasses dot org