Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
21 lines
824 B
Plaintext
21 lines
824 B
Plaintext
/*
|
|
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;
|