const mediumZoom = require('./medium-zoom')
require('./medium-zoom.css')

module.exports = mediumZoom

import mediumZoom from './medium-zoom'
import './medium-zoom.css'

export default mediumZoom

Use ES6 imports