mirror of https://github.com/webpack/webpack.git
22 lines
332 B
JavaScript
22 lines
332 B
JavaScript
"use strict";
|
|
|
|
/** @type {import("webpack").Configuration} */
|
|
const config = {
|
|
output: {
|
|
module: true,
|
|
library: {
|
|
type: "module"
|
|
}
|
|
},
|
|
optimization: {
|
|
usedExports: true,
|
|
concatenateModules: true
|
|
},
|
|
target: "browserslist: last 2 chrome versions",
|
|
experiments: {
|
|
outputModule: true
|
|
}
|
|
};
|
|
|
|
module.exports = config;
|