Skip to content

Commit

Permalink
feat: enable sandbox by default (#2814)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiYuei authored Nov 15, 2023
1 parent f27b8ec commit a8809ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/loud-teachers-develop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"qiankun": patch
---

feat: enable sandbox by default
2 changes: 1 addition & 1 deletion packages/qiankun/src/core/loadApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default async function loadApp<T extends ObjectType>(
};
const {
fetch = window.fetch,
sandbox,
sandbox = true,
globalContext = window,
nodeTransformer = defaultNodeTransformer,
...restConfiguration
Expand Down

0 comments on commit a8809ec

Please sign in to comment.