Skip to content
4 changes: 2 additions & 2 deletions packages/taro-webpack5-prebundle/src/mini.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ export class MiniPrebundle extends BasePrebundle<IMiniPrebundleConfig> {
globalObject: mainBuildOutput.globalObject
}
const provideObject = {
window: [taroRuntimeBundlePath, 'window$1'],
document: [taroRuntimeBundlePath, 'document$1'],
window: [taroRuntimeBundlePath, 'taroWindowProvider'],
document: [taroRuntimeBundlePath, 'taroDocumentProvider'],
navigator: [taroRuntimeBundlePath, 'nav'],
requestAnimationFrame: [taroRuntimeBundlePath, '_raf'],
cancelAnimationFrame: [taroRuntimeBundlePath, '_caf'],
Expand Down
Loading