@umijs/deps
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -1,1 +0,1 @@ | ||
{"name":"webpack","main":"bundle4.js","author":"Tobias Koppers @sokra","license":"MIT","types":"index.d.ts"} | ||
{"name":"webpack","main":"webpack.js","author":"Tobias Koppers @sokra","license":"MIT","types":"index.d.ts"} |
@@ -10,8 +10,9 @@ exports.__esModule = true; | ||
if (useWebpack5) { | ||
Object.assign(exports, require('./5/bundle5')()); | ||
Object.assign(exports, require('./5/bundle5')().webpack); | ||
exports.isWebpack5 = true; | ||
exports.isWebpack5 = true; | ||
if (!initializedWebpack5) for (const cb of initFns) cb(); | ||
initializedWebpack5 = true; | ||
} else { | ||
Object.assign(exports, require('./4/bundle4')()); | ||
Object.assign(exports, require('./4/bundle4')().webpack); | ||
exports.isWebpack5 = false; | ||
@@ -23,5 +24,5 @@ if (!initializedWebpack4) for (const cb of initFns) cb(); | ||
exports.onWebpackInit = function (cb) { | ||
exports.onWebpackInit = function(cb) { | ||
if (initializedWebpack5 || initializedWebpack4) cb(); | ||
initFns.push(cb); | ||
} |
{ | ||
"name": "@umijs/deps", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31926746
115210