2025-07-16 22:29:28 +08:00
|
|
|
"use strict";
|
|
|
|
|
2025-04-22 18:49:30 +08:00
|
|
|
const os = require("os");
|
2025-07-03 17:06:45 +08:00
|
|
|
const path = require("path");
|
|
|
|
const webpack = require("../../../../");
|
2018-03-18 19:47:10 +08:00
|
|
|
|
2020-04-20 13:36:55 +08:00
|
|
|
/** @type {import("../../../../").Configuration} */
|
2018-03-18 19:47:10 +08:00
|
|
|
module.exports = {
|
|
|
|
node: {
|
|
|
|
__dirname: false,
|
|
|
|
__filename: false
|
|
|
|
},
|
|
|
|
entry: {
|
|
|
|
bundle0: ["./index.js"]
|
|
|
|
},
|
|
|
|
output: {
|
|
|
|
filename: "[name].js"
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
new webpack.debug.ProfilingPlugin({
|
|
|
|
outputPath: path.join(os.tmpdir(), "events.json")
|
|
|
|
})
|
|
|
|
],
|
|
|
|
devtool: "source-map"
|
|
|
|
};
|