Skip to content

Commit

Permalink
Merge pull request #151 from core-ds/fix/overrides-types
Browse files Browse the repository at this point in the history
fix(overrides): correct types for overrides
  • Loading branch information
heymdall-legal authored Oct 18, 2023
2 parents abc5ab8 + 6beb22b commit 0233791
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/eight-bugs-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'arui-scripts': patch
---

Исправлены типы для оверрайдов, теперь prod овверайды так же принимают дополнительные аргументы
3 changes: 3 additions & 0 deletions packages/arui-scripts/src/configs/util/apply-overrides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,11 @@ type OverridesAdditionalArgs = {
webpackClient: ClientWebpackAdditionalArgs;
webpackDev: ClientWebpackAdditionalArgs;
webpackClientDev: ClientWebpackAdditionalArgs;
webpackProd: ClientWebpackAdditionalArgs;
webpackClientProd: ClientWebpackAdditionalArgs;
webpackServer: ServerWebpackAdditionalArgs;
webpackServerDev: ServerWebpackAdditionalArgs;
webpackServerProd: ServerWebpackAdditionalArgs;
};

type OverrideFunction<
Expand Down

0 comments on commit 0233791

Please sign in to comment.