/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/hotPlayground/webpack.config.js
16 строк
502 B
Alexander Akait
chore: resolve "use strict" TODO (#19705)
16 июл 2025, 17:29
Не верифицирован
16 июл 2025, 17:29
d8690f3
Код
Авторство
О чём код?
"use strict"; const path = require("path"); const webpack = require("../../"); /** @type {import("../../").Configuration} */ module.exports = { entry: ["../../hot/dev-server", "./index.js"], output: { filename: "bundle.js", hotUpdateChunkFilename: "[id].[fullhash].bundle-update.js", hashDigestLength: 4 }, plugins: [new webpack.HotModuleReplacementPlugin()], recordsPath: path.resolve(__dirname, "./records.json") // this is not required for the webpack-dev-server, but when compiled. };