A
A
Alexander2017-06-19 14:14:04
JavaScript
Alexander, 2017-06-19 14:14:04

How does uglify work in webpack?

Good day.
Tell me how the import/export of code between modules works in ugly webpack.
And more precisely, this piece is interested in how to navigate by the numbers 1, 2, 3:

webpackJsonp([1], [
    function (e, t, n) {
        var a = n(1), b = n(2), c = n(3);
    }
], [3]);

PS There are no sources :). I would be very grateful for the saved time.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Korobkov, 2017-06-19
@Minifets

Numbers are numbers :-)
This closure calls the function passed as the third argument three times. The first time with parameter 1, the second time with 2, the third time with 3. The first and second arguments are not used.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question