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>
21 lines
824 B
JavaScript
Executable File
21 lines
824 B
JavaScript
Executable File
/*
|
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
Author Arka Pratim Chaudhuri @arkapratimc
|
|
*/
|
|
|
|
"use strict";
|
|
|
|
const WebpackError = require("./WebpackError");
|
|
|
|
class FalseIIFEUmdWarning extends WebpackError {
|
|
constructor() {
|
|
super();
|
|
/** @type {string} */
|
|
this.name = "FalseIIFEUmdWarning";
|
|
this.message =
|
|
"Configuration:\nSetting 'output.iife' to 'false' is incompatible with 'output.library.type' set to 'umd'. This configuration may cause unexpected behavior, as UMD libraries are expected to use an IIFE (Immediately Invoked Function Expression) to support various module formats. Consider setting 'output.iife' to 'true' or choosing a different 'library.type' to ensure compatibility.\nLearn more: https://webpack.js.org/configuration/output/";
|
|
}
|
|
}
|
|
|
|
module.exports = FalseIIFEUmdWarning;
|