Skip to content

Instantly share code, notes, and snippets.

@ckomop0x
Created June 13, 2019 14: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 ckomop0x/365a42a1d91a22bd38bcf3da1e5672e4 to your computer and use it in GitHub Desktop.
Save ckomop0x/365a42a1d91a22bd38bcf3da1e5672e4 to your computer and use it in GitHub Desktop.
Final compiled main.js chunk
(window.webpackJsonp = window.webpackJsonp || []).push([[0], {
10: function(e, n, a) {
"use strict";
a.r(n);
var t = a(0)
, r = a.n(t)
, l = a(2)
, p = a.n(l);
// Here is our sum
function c(e, n) {
return e + n
}
a(9);
var u = document.getElementById("root");
p.a.render(r.a.createElement(function() {
var e = [{
param1: 100,
param2: 99
}, {
param1: 2,
param2: 31
// Here we can see our calculateSomethingSpecial
}].map(function(e) {
return c(e.param1, e.param2)
});
return r.a.createElement("div", {
className: "App"
}, r.a.createElement("h1", null, "Re-export example"), r.a.createElement("p", null, "Special: "), r.a.createElement("div", null, e.map(function(e, n) {
return r.a.createElement("div", {
key: n
}, "Result #", n, " ", e)
// Result from multiply
})), r.a.createElement("p", null, 50),
r.a.createElement("p", null, c(5, 10)))
}, null), u)
},
3: function(e, n, a) {
e.exports = a(10)
},
9: function(e, n, a) {}
}, [[3, 1, 2]]]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment