Created
February 21, 2018 22:33
-
-
Save 3stacks/5d672514374ac2676a0a4bb1bc9b491b to your computer and use it in GitHub Desktop.
javascript bundling index.js example
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 multiplier from './some-file.js'; | |
export function someMaths() { | |
console.log(multiplier); | |
console.log(5 * multiplier); | |
console.log(10 * multiplier); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment