Skip to content

Instantly share code, notes, and snippets.

@92hackers
Created August 16, 2017 07:02
Show Gist options
  • Save 92hackers/46abb237af4246369cee5d6dcab6adae to your computer and use it in GitHub Desktop.
Save 92hackers/46abb237af4246369cee5d6dcab6adae to your computer and use it in GitHub Desktop.
Js module only import single module from an big pakcage
import join from 'lodash/join' // es6, most useful when used with webpack.
const isArray = require('lodash/isArray') // node.js style.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment