Created
August 16, 2017 07:02
-
-
Save 92hackers/46abb237af4246369cee5d6dcab6adae to your computer and use it in GitHub Desktop.
Js module only import single module from an big pakcage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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