diff --git a/frontend_addon/{{ cookiecutter.__folder_name }}/package.json b/frontend_addon/{{ cookiecutter.__folder_name }}/package.json index 1bc72b8..4178d25 100644 --- a/frontend_addon/{{ cookiecutter.__folder_name }}/package.json +++ b/frontend_addon/{{ cookiecutter.__folder_name }}/package.json @@ -40,5 +40,11 @@ "devDependencies": { "mrs-developer": "{{ cookiecutter.__version_mrs_developer }}" }, + "pnpm": { + "overrides": { + "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15", + "react-refresh": "^0.14.2" + } + }, "packageManager": "pnpm@{{ cookiecutter.__version_pnpm }}" } diff --git a/sub/frontend_project/{{ cookiecutter.__folder_name }}/_project_files/package.json b/sub/frontend_project/{{ cookiecutter.__folder_name }}/_project_files/package.json index 610e7c1..d0624d3 100644 --- a/sub/frontend_project/{{ cookiecutter.__folder_name }}/_project_files/package.json +++ b/sub/frontend_project/{{ cookiecutter.__folder_name }}/_project_files/package.json @@ -38,5 +38,11 @@ "devDependencies": { "mrs-developer": "^2.2.0" }, + "pnpm": { + "overrides": { + "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15", + "react-refresh": "^0.14.2" + } + }, "packageManager": "pnpm@9.1.1" }