Skip to content

Instantly share code, notes, and snippets.

@lordgraysith
Last active March 16, 2017 17:51
Show Gist options
  • Save lordgraysith/aca066e86b144ba55f04ac17d19c0ac7 to your computer and use it in GitHub Desktop.
Save lordgraysith/aca066e86b144ba55f04ac17d19c0ac7 to your computer and use it in GitHub Desktop.
import/export to commonJS
import\s([a-z0-9{},]+)\sfrom\s('[a-z\-./]+')
const $1 = require($2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment