@umijs/deps
Advanced tools
Comparing version 0.2.9 to 0.2.10
@@ -9,3 +9,3 @@ // Type definitions for UglifyJS 3.12 | ||
import { RawSourceMap } from '@umijs/deps/types/webpack/source-map'; | ||
import { RawSourceMap } from '../source-map/source-map'; | ||
export interface ParseOptions { | ||
@@ -12,0 +12,0 @@ /** |
@@ -10,10 +10,13 @@ exports.__esModule = true; | ||
if (useWebpack5) { | ||
Object.assign(exports, require('./5/bundle5')().webpack); | ||
Object.assign(exports, require('./5/bundle5')()); | ||
exports.isWebpack5 = true; | ||
exports.isWebpack5 = true; | ||
exports.webpack = require('./5/bundle5')().webpack; | ||
exports.default = require('./5/bundle5')().webpack; | ||
if (!initializedWebpack5) for (const cb of initFns) cb(); | ||
initializedWebpack5 = true; | ||
} else { | ||
Object.assign(exports, require('./4/bundle4')().webpack); | ||
Object.assign(exports, require('./4/bundle4')()); | ||
exports.isWebpack5 = false; | ||
exports.webpack = require('./4/bundle4')().webpack; | ||
exports.default = require('./4/bundle4')().webpack; | ||
if (!initializedWebpack4) for (const cb of initFns) cb(); | ||
@@ -20,0 +23,0 @@ initializedWebpack4 = true; |
{ | ||
"name": "@umijs/deps", | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
Sorry, the diff of this file is too big to display
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
31946490
115571