/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/statsCases/define-plugin-error/webpack.config.js
18 строк
354 B
Alexander Akait
fix: name the failing key on DefinePlugin typeof eval errors (#21503)
25 июл 2026, 18:09
Не верифицирован
25 июл 2026, 18:09
e02f566
Код
Авторство
О чём код?
"use strict"; const webpack = require("../../../"); /** @type {import("../../../").Configuration} */ module.exports = { mode: "development", entry: "./index", stats: { errorStack: false }, plugins: [ new webpack.DefinePlugin({ // invalid replacement code: the error must name this key "typeof PRODUCTION": "(( invalid syntax" }) ] };