Skip to content

Commit 88fceef

Browse files
committed
Make dynamic downloading of dependencies a query option
1 parent 8eb5e8a commit 88fceef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/app/src/sandbox/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ requirePolyfills().then(() => {
110110
hasActions: false,
111111
template: x.data.template,
112112
version: 3,
113-
disableDependencyPreprocessing: true,
113+
disableDependencyPreprocessing: document.location.search.includes(
114+
'csb-dynamic-download'
115+
),
114116
};
115117

116118
compile(data);

0 commit comments

Comments
 (0)