Skip to content

Instantly share code, notes, and snippets.

@3stacks
Created February 21, 2018 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 3stacks/1f63463a0c392c23a17c66f9bb880494 to your computer and use it in GitHub Desktop.
Save 3stacks/1f63463a0c392c23a17c66f9bb880494 to your computer and use it in GitHub Desktop.
javascript bundling in 2018 rollup bundle example
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var multiplier = 10;
function someMaths() {
console.log(multiplier);
console.log(5 * multiplier);
console.log(10 * multiplier);
}
exports.someMaths = someMaths;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment