Update npm packages (73 packages including @jqhtml 2.3.36)
Update npm registry domain from privatenpm.hanson.xyz to npm.internal.hanson.xyz 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
20
node_modules/webpack/lib/webpack.js
generated
vendored
20
node_modules/webpack/lib/webpack.js
generated
vendored
@@ -15,19 +15,25 @@ const {
|
||||
applyWebpackOptionsBaseDefaults,
|
||||
applyWebpackOptionsDefaults
|
||||
} = require("./config/defaults");
|
||||
const { getNormalizedWebpackOptions } = require("./config/normalization");
|
||||
const {
|
||||
applyWebpackOptionsInterception,
|
||||
getNormalizedWebpackOptions
|
||||
} = require("./config/normalization");
|
||||
const NodeEnvironmentPlugin = require("./node/NodeEnvironmentPlugin");
|
||||
const memoize = require("./util/memoize");
|
||||
|
||||
/** @typedef {import("../declarations/WebpackOptions").WebpackOptions} WebpackOptions */
|
||||
/** @typedef {import("../declarations/WebpackOptions").WebpackPluginFunction} WebpackPluginFunction */
|
||||
/** @typedef {import("./config/defaults").WebpackOptionsNormalizedWithDefaults} WebpackOptionsNormalizedWithDefaults */
|
||||
/** @typedef {import("./config/normalization").WebpackOptionsInterception} WebpackOptionsInterception */
|
||||
/** @typedef {import("./Compiler").WatchOptions} WatchOptions */
|
||||
/** @typedef {import("./MultiCompiler").MultiCompilerOptions} MultiCompilerOptions */
|
||||
/** @typedef {import("./MultiCompiler").MultiWebpackOptions} MultiWebpackOptions */
|
||||
/** @typedef {import("./MultiStats")} MultiStats */
|
||||
/** @typedef {import("./Stats")} Stats */
|
||||
|
||||
/** @typedef {(this: Compiler, compiler: Compiler) => void} WebpackPluginFunction */
|
||||
/** @typedef {(compiler: Compiler) => void} WebpackPluginInstanceApplyFunction */
|
||||
|
||||
const getValidateSchema = memoize(() => require("./validateSchema"));
|
||||
|
||||
/**
|
||||
@@ -68,8 +74,13 @@ const createMultiCompiler = (childOptions, options) => {
|
||||
* @returns {Compiler} a compiler
|
||||
*/
|
||||
const createCompiler = (rawOptions, compilerIndex) => {
|
||||
const options = getNormalizedWebpackOptions(rawOptions);
|
||||
let options = getNormalizedWebpackOptions(rawOptions);
|
||||
applyWebpackOptionsBaseDefaults(options);
|
||||
|
||||
/** @type {WebpackOptionsInterception=} */
|
||||
let interception;
|
||||
({ options, interception } = applyWebpackOptionsInterception(options));
|
||||
|
||||
const compiler = new Compiler(
|
||||
/** @type {string} */ (options.context),
|
||||
options
|
||||
@@ -99,7 +110,8 @@ const createCompiler = (rawOptions, compilerIndex) => {
|
||||
new WebpackOptionsApply().process(
|
||||
/** @type {WebpackOptionsNormalizedWithDefaults} */
|
||||
(options),
|
||||
compiler
|
||||
compiler,
|
||||
interception
|
||||
);
|
||||
compiler.hooks.initialize.call();
|
||||
return compiler;
|
||||
|
||||
Reference in New Issue
Block a user