Skip to content

Commit 56fecd5

Browse files
authored
fix: reload Rstack config without module cache (#26)
1 parent 39c5335 commit 56fecd5

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

packages/rstack/src/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ export const loadRstackConfig = async (): Promise<Configs> => {
109109
await loadConfig({
110110
loader: 'native',
111111
exportName: false,
112+
fresh: true,
112113
...(state.configPath !== undefined
113114
? { path: state.configPath }
114115
: {

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ catalog:
1616
'@rslib/core': '~0.23.2'
1717
'@rslint/core': '~0.6.5'
1818
'@rspress/core': '^2.0.17'
19-
'@rstackjs/load-config': ^0.1.1
19+
'@rstackjs/load-config': ^0.1.2
2020
'@rstest/adapter-rsbuild': '~0.11.0'
2121
'@rstest/adapter-rslib': '~0.11.0'
2222
'@rstest/core': '~0.11.0'

0 commit comments

Comments
 (0)