Skip to content

Commit c90e1d1

Browse files
author
Ives van Hoorne
committed
Enable mergeStaticConfig for sandboxes
1 parent 7edeb23 commit c90e1d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/app/config/webpack.prod.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ module.exports = merge(commonConfig, {
7070
// Don't precache sourcemaps (they're large) and build asset manifest:
7171
staticFileGlobsIgnorePatterns: [/\.map$/, /asset-manifest\.json$/],
7272
maximumFileSizeToCacheInBytes: 5242880,
73+
74+
// We need to keep the old assets available until the sandbox has
75+
// loaded them.
76+
skipWaiting: false,
7377
runtimeCaching: [
7478
{
7579
urlPattern: /api\/v1\/sandboxes/,

0 commit comments

Comments
 (0)