2025-07-16 22:29:28 +08:00
|
|
|
"use strict";
|
|
|
|
|
2025-04-22 18:49:30 +08:00
|
|
|
const webpack = require("../../../../");
|
|
|
|
|
2020-04-20 13:36:55 +08:00
|
|
|
/** @type {import("../../../../").Configuration} */
|
2018-02-08 06:34:30 +08:00
|
|
|
module.exports = {
|
|
|
|
node: {
|
|
|
|
__dirname: false,
|
|
|
|
__filename: false
|
|
|
|
},
|
|
|
|
entry: {
|
|
|
|
bundle0: ["./index.js"],
|
|
|
|
bundle1: ["./test1.js", "./test2.js"]
|
|
|
|
},
|
|
|
|
output: {
|
|
|
|
filename: "[name].js"
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
new webpack.EvalSourceMapDevToolPlugin({
|
|
|
|
include: /\.js$/,
|
|
|
|
exclude: /test2\.js/,
|
|
|
|
module: true,
|
|
|
|
columns: false
|
|
|
|
})
|
|
|
|
]
|
|
|
|
};
|