/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/source-map/test-fn-modules-source-map/webpack.config.js
29 строк
513 B
hai-x
feat: support function matcher in rule options (#19952)
29 сен 2025, 21:22
Не верифицирован
29 сен 2025, 21:22
761b153
Код
Авторство
О чём код?
"use strict"; const webpack = require("../../../../"); /** @type {import("../../../../").Configuration} */ module.exports = { node: { __dirname: false, __filename: false }, entry: { bundle0: ["./index.js"], bundle1: ["./test1.js", "./test2.js"] }, output: { filename: "[name].js" }, plugins: [ new webpack.EvalSourceMapDevToolPlugin({ test: (str) => { if (str.endsWith(".js")) return true; return false; }, exclude: /test2\.js/, module: true, columns: false }) ] };