webpack/test/configCases/plugins/profiling-plugin/webpack.config.js

16 lines
298 B
JavaScript

var rootPath = "../../../../";
var webpack = require(rootPath);
var path = require("path");
module.exports = (env, { testPath }) => ({
plugins: [
new webpack.debug.ProfilingPlugin({
outPath: path.join(testPath, "events.json")
})
],
node: {
__dirname: false,
__filename: false
}
});