Fix the replacement regexp for 'config' (#9093)

This commit is contained in:
William Durand 2020-01-17 13:23:25 +01:00 коммит произвёл GitHub
Родитель c3acd52143
Коммит 8856132f79
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -143,7 +143,7 @@ export function getPlugins({
// This replaces the config with a new module that has sensitive,
// server-only keys removed.
new webpack.NormalModuleReplacementPlugin(
/config$/,
/^config$/,
'core/client/config.js',
),
// This swaps the server side window object with a standard browser window.