mirror of https://github.com/webpack/webpack.git
21 lines
323 B
JavaScript
21 lines
323 B
JavaScript
/** @type {import("../../../../").Configuration} */
|
|
module.exports = {
|
|
entry: {
|
|
main: {
|
|
import: "./index.js",
|
|
library: { type: "module" }
|
|
}
|
|
},
|
|
output: {
|
|
filename: "[name].mjs"
|
|
},
|
|
optimization: {
|
|
runtimeChunk: "single"
|
|
},
|
|
experiments: {
|
|
outputModule: true
|
|
},
|
|
mode: "development",
|
|
devtool: false
|
|
};
|