Replaces CommonJS modules with ES6 modules