/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/plugins/profiling-plugin/webpack.config.js
19 строк
424 B
Alexander Akait
chore: resolve "use strict" TODO (#19705)
16 июл 2025, 17:29
Не верифицирован
16 июл 2025, 17:29
d8690f3
Код
Авторство
О чём код?
"use strict"; const rootPath = "../../../../"; const webpack = require(rootPath); const path = require("path"); /** @type {(env: Env, options: TestOptions) => import("../../../../").Configuration} */ module.exports = (env, { testPath }) => ({ plugins: [ new webpack.debug.ProfilingPlugin({ outputPath: path.join(testPath, "in/directory/events.json") }) ], node: { __dirname: false, __filename: false } });