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} */
|
2015-03-18 02:53:14 +08:00
|
|
|
module.exports = {
|
2017-12-13 23:05:21 +08:00
|
|
|
mode: "development",
|
|
|
|
devtool: false,
|
2015-03-18 02:53:14 +08:00
|
|
|
node: {
|
|
|
|
__dirname: false,
|
|
|
|
__filename: false
|
|
|
|
},
|
|
|
|
entry: {
|
|
|
|
bundle0: ["./index.js"],
|
|
|
|
vendors: ["./vendors.js"]
|
|
|
|
},
|
|
|
|
output: {
|
|
|
|
filename: "[name].js"
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
new webpack.SourceMapDevToolPlugin({
|
|
|
|
filename: "[file].map",
|
2015-03-19 23:30:52 +08:00
|
|
|
exclude: ["vendors.js"]
|
2015-03-18 02:53:14 +08:00
|
|
|
})
|
|
|
|
]
|
|
|
|
};
|