fix(remix): import of config file should invalidate cache (#21121)
This commit is contained in:
parent
9559f7e7ac
commit
1d2bfde11a
@ -185,7 +185,9 @@ async function getServerBuildPath(
|
||||
try {
|
||||
let appConfigModule: any;
|
||||
try {
|
||||
appConfigModule = await Function(`return import("${configPath}")`)();
|
||||
appConfigModule = await Function(
|
||||
`return import("${configPath}?t=${Date.now()}")`
|
||||
)();
|
||||
} catch {
|
||||
appConfigModule = require(configPath);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user