chore: webpack编译优化

This commit is contained in:
eric
2022-11-13 11:14:11 +08:00
parent 750a6344a7
commit f3e62862fc
40 changed files with 165 additions and 50953 deletions

View File

@@ -1,103 +1,2 @@
"use strict";
var taro_app_library;
(wx["webpackJsonp"] = wx["webpackJsonp"] || []).push([["taro_app_library"],{
/***/ "webpack/container/entry/taro_app_library":
/*!***********************!*\
!*** container entry ***!
\***********************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
var moduleMap = {
"./react": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"), __webpack_require__.e("node_modules_taro_weapp_prebundle_react_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react.js */ "./node_modules/.taro/weapp/prebundle/react.js")); }; });
},
"./@antmjs/vantui": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-OEADN3SU_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-TUA3UK7E_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_antmjs_vantui_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@antmjs_vantui.js */ "./node_modules/.taro/weapp/prebundle/@antmjs_vantui.js")); }; });
},
"./@tarojs/taro": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-TUA3UK7E_js"), __webpack_require__.e("node_modules_taro_weapp_prebundle_tarojs_taro_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_taro.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_taro.js")); }; });
},
"./react/jsx-runtime": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"), __webpack_require__.e("node_modules_taro_weapp_prebundle_react_jsx-runtime_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js */ "./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js")); }; });
},
"./@tarojs/runtime": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"), __webpack_require__.e("node_modules_taro_weapp_prebundle_tarojs_runtime_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js")); }; });
},
"./@tarojs/plugin-platform-weapp/dist/runtime": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"), __webpack_require__.e("node_modules_taro_weapp_prebundle_tarojs_plugin-platform-weapp_dist_runtime_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js")); }; });
},
"./@tarojs/plugin-framework-react/dist/runtime": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-framework-react_dist_runtime_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js")); }; });
},
"./react-dom": function() {
return Promise.all([__webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"), __webpack_require__.e("vendors-node_modules_taro_weapp_prebundle_chunk-OEADN3SU_js"), __webpack_require__.e("node_modules_taro_weapp_prebundle_react-dom_js")]).then(function() { return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react-dom.js */ "./node_modules/.taro/weapp/prebundle/react-dom.js")); }; });
}
};
var get = function(module, getScope) {
__webpack_require__.R = getScope;
getScope = (
__webpack_require__.o(moduleMap, module)
? moduleMap[module]()
: Promise.resolve().then(function() {
throw new Error('Module "' + module + '" does not exist in container.');
})
);
__webpack_require__.R = undefined;
return getScope;
};
var init = function(shareScope, initScope) {
if (!__webpack_require__.S) return;
var name = "default"
var oldScope = __webpack_require__.S[name];
if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");
__webpack_require__.S[name] = shareScope;
return __webpack_require__.I(name, initScope);
};
// This exports getters to disallow modifications
__webpack_require__.d(exports, {
get: function() { return get; },
init: function() { return init; }
});
var taroModuleMap = {
"./react": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react.js */ "./node_modules/.taro/weapp/prebundle/react.js")); };
},
"./@antmjs/vantui": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@antmjs_vantui.js */ "./node_modules/.taro/weapp/prebundle/@antmjs_vantui.js")); };
},
"./@tarojs/taro": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_taro.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_taro.js")); };
},
"./react/jsx-runtime": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js */ "./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js")); };
},
"./@tarojs/runtime": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js")); };
},
"./@tarojs/plugin-platform-weapp/dist/runtime": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js")); };
},
"./@tarojs/plugin-framework-react/dist/runtime": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js */ "./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js")); };
},
"./react-dom": function() {
return function() { return (__webpack_require__(/*! ./node_modules/.taro/weapp/prebundle/react-dom.js */ "./node_modules/.taro/weapp/prebundle/react-dom.js")); };
}
};
var taroGet = function(module) {
return taroModuleMap[module]();
};
__webpack_require__.taro(taroGet);
/***/ })
},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
/******/ var __webpack_exports__ = (__webpack_exec__("webpack/container/entry/taro_app_library"));
/******/ taro_app_library = __webpack_exports__;
/******/ }
]);
/*! For license information please see remoteEntry.js.LICENSE.txt */
"use strict";var taro_app_library;(wx.webpackJsonp=wx.webpackJsonp||[]).push([["taro_app_library"],{"webpack/container/entry/taro_app_library":function(e,n,r){var o={"./react":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"),r.e("node_modules_taro_weapp_prebundle_react_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react.js")}}))},"./@antmjs/vantui":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-OEADN3SU_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-TUA3UK7E_js"),r.e("vendors-node_modules_taro_weapp_prebundle_antmjs_vantui_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@antmjs_vantui.js")}}))},"./@tarojs/taro":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-TUA3UK7E_js"),r.e("node_modules_taro_weapp_prebundle_tarojs_taro_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_taro.js")}}))},"./react/jsx-runtime":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"),r.e("node_modules_taro_weapp_prebundle_react_jsx-runtime_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js")}}))},"./@tarojs/runtime":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"),r.e("node_modules_taro_weapp_prebundle_tarojs_runtime_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js")}}))},"./@tarojs/plugin-framework-react/dist/runtime":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"),r.e("vendors-node_modules_taro_weapp_prebundle_tarojs_plugin-framework-react_dist_runtime_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js")}}))},"./@tarojs/plugin-platform-weapp/dist/runtime":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("node_modules_taro_weapp_prebundle_tarojs_plugin-platform-weapp_dist_runtime_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js")}}))},"./react-dom":function(){return Promise.all([r.e("vendors-node_modules_taro_weapp_prebundle_chunk-BS6JQHLA_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-VXAYXK77_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-LNJCN3VW_js"),r.e("vendors-node_modules_taro_weapp_prebundle_chunk-OEADN3SU_js"),r.e("node_modules_taro_weapp_prebundle_react-dom_js")]).then((function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react-dom.js")}}))}},get=function(e,n){return r.R=n,n=r.o(o,e)?o[e]():Promise.resolve().then((function(){throw new Error('Module "'+e+'" does not exist in container.')})),r.R=void 0,n},init=function(e,n){if(r.S){var o="default",t=r.S[o];if(t&&t!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return r.S[o]=e,r.I(o,n)}};r.d(n,{get:function(){return get},init:function(){return init}});var t={"./react":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react.js")}},"./@antmjs/vantui":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@antmjs_vantui.js")}},"./@tarojs/taro":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_taro.js")}},"./react/jsx-runtime":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react_jsx-runtime.js")}},"./@tarojs/runtime":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_runtime.js")}},"./@tarojs/plugin-framework-react/dist/runtime":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_plugin-framework-react_dist_runtime.js")}},"./@tarojs/plugin-platform-weapp/dist/runtime":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/@tarojs_plugin-platform-weapp_dist_runtime.js")}},"./react-dom":function(){return function(){return r("./node_modules/.taro/weapp/prebundle/react-dom.js")}}};r.taro((function(e){return t[e]()}))}},function(e){var n,r=(n="webpack/container/entry/taro_app_library",e(e.s=n));taro_app_library=r}]);