Z
Z
zakharkang2017-09-03 12:15:28
JavaScript
zakharkang, 2017-09-03 12:15:28

What kind of wrappers do module builders create (require, wrapperBootstrap, commonjs, amd, etc.), and how to get rid of them?

What kind of obscure wrappers do assemblers create in the final javascript file? How to get rid of these wrapper functions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alvvi, 2017-09-03
@zakharkang

And how do you want to get a modular system without wrappers?
These wrappers are the essence of bundling, if you don't need it, the solution is simple: don't use a bundler.
By the way, I didn’t understand what Gulp and NPM are doing in the tags, they don’t create any wrappers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question