source: imaps-frontend/node_modules/webpack/lib/FalseIIFEUmdWarning.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 800 bytes
Line 
1/*
2 MIT License http://www.opensource.org/licenses/mit-license.php
3 Author Arka Pratim Chaudhuri @arkapratimc
4*/
5
6"use strict";
7
8const WebpackError = require("./WebpackError");
9
10class FalseIIFEUmdWarning extends WebpackError {
11 constructor() {
12 super();
13 this.name = "FalseIIFEUmdWarning";
14 this.message =
15 "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/";
16 }
17}
18
19module.exports = FalseIIFEUmdWarning;
Note: See TracBrowser for help on using the repository browser.