WebPack - created by ouptut without webpackBootStrap

is there any way to direct a web package to generate output without bootstrap code and create something like:

webpackedmodules = [
   function(module, exports, __webpack_require__) {
      ...
   }, 
   function(module, exports, __webpack_require__) {
      ...
   }, 
]

or

return [
   function(module, exports, __webpack_require__) {
      ...
   }, 
   function(module, exports, __webpack_require__) {
      ...
   }, 
]

or with fully customizable boostrap code.

I want to download this using XHR and create a custom “package solver” that later allows me to dynamically send specific modules to various web employees.

+4
source share

Source: https://habr.com/ru/post/1677475/


All Articles