mirror of https://github.com/webpack/webpack.git
22 lines
374 B
JavaScript
22 lines
374 B
JavaScript
"use strict";
|
|
|
|
/** @type {import("../../../../").Configuration} */
|
|
module.exports = {
|
|
mode: "production",
|
|
entry: {
|
|
main: "./index.js"
|
|
},
|
|
output: {
|
|
filename: "[name].js",
|
|
library: "MyLibrary",
|
|
libraryTarget: "umd",
|
|
chunkLoading: "jsonp",
|
|
chunkFormat: "array-push",
|
|
globalObject: "this"
|
|
},
|
|
optimization: {
|
|
minimize: false,
|
|
runtimeChunk: "single"
|
|
}
|
|
};
|