webpack4 bootstarp 在开发模式下的代码。
/******/ (function(modules) { // webpackBootstrap
...
/******/ function hotCreateRequire(moduleId) {
/******/ var me = installedModules[moduleId];
/******/ if (!me) return __webpack_require__;
/******/ var fn = function(request) {
/******/ if (me.hot.active) {
/******/ if (installedModules[request]) {
// here use 'includes' not supported in es5
/******/ if (!installedModules[request].parents.includes(moduleId))
而且我的开发环境不是chrome,它不支持这些新功能。
那么我该如何解决呢?
还是我必须使用 webpack3?