Skip to content

Instantly share code, notes, and snippets.

@zavr-1
Created December 29, 2019 13:08
Show Gist options
  • Save zavr-1/e3658c0949f5f16d955056c79fda8948 to your computer and use it in GitHub Desktop.
Save zavr-1/e3658c0949f5f16d955056c79fda8948 to your computer and use it in GitHub Desktop.
// was
import X from 'package-name'
// becomes
import X from '/node_modules/package-name/src/index.mjs'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment