Home  >  Q&A  >  body text

javascript - How to compress js code into the following format

!function (t) {

function e(i) {
    if (n[i])return n[i].exports;
    var o = n[i] = {exports: {}, id: i, loaded: !1};
    return t[i].call(o.exports, o, o.exports, e), o.loaded = !0, o.exports
}

var n = {};
return e.m = t, e.c = n, e.p = "", e(0)

}({

0: function (t, e, n) {
    t.exports = n(624)
}

});

PHP中文网PHP中文网2710 days ago521

reply all(2)I'll reply

  • 某草草

    某草草2017-05-19 10:46:33

    Can you use the correct Markdown syntax first? Ordinary compression means removing spaces and replacing some long variable names with abc. There are also some packaging tools that will package and compress them into modules

    reply
    0
  • 大家讲道理

    大家讲道理2017-05-19 10:46:33

    Obfuscated compression

    reply
    0
  • Cancelreply