Closed kempcalalo closed 3 years ago
For now I use the workaround
const isEnabledSharedArrayBuffer =
typeof SharedArrayBuffer === "function" &&
typeof window !== "undefined" &&
global.crossOriginIsolated === true;
if (!isEnabledSharedArrayBuffer) {
global.SharedArrayBuffer = ArrayBuffer;
}
waiting for this PR : https://github.com/browserify/node-util/pull/59
Describe the bug I am using vue2-sfc-loader but I got this warning on chrome console.
vue2-sfc-loader.js:59 [Deprecation] SharedArrayBuffer will require cross-origin isolation as of M91, around May 2021. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.
To Reproduce Reference vue2-sfc-loader
Expected behavior
No warning should be displayed.
Versions
Additional context![image](https://user-images.githubusercontent.com/17131957/115237239-a2f42e80-a11c-11eb-9dbb-e0f78135620b.png)