Generate CJS exports and require statements