diff --git a/.changeset/loud-teachers-develop.md b/.changeset/loud-teachers-develop.md new file mode 100644 index 000000000..027cef1c4 --- /dev/null +++ b/.changeset/loud-teachers-develop.md @@ -0,0 +1,5 @@ +--- +"qiankun": patch +--- + +feat: enable sandbox by default diff --git a/packages/qiankun/src/core/loadApp.ts b/packages/qiankun/src/core/loadApp.ts index e4f3c2185..9fed30572 100644 --- a/packages/qiankun/src/core/loadApp.ts +++ b/packages/qiankun/src/core/loadApp.ts @@ -35,7 +35,7 @@ export default async function loadApp( }; const { fetch = window.fetch, - sandbox, + sandbox = true, globalContext = window, nodeTransformer = defaultNodeTransformer, ...restConfiguration