Broken API or pattern
For all FluidFramework client packages, importing (require()) for CommonJS support will be removed. Only ECMAScript Module (ESM) imports are directly supported.
Preparation References
TypeScript consumers should only import in an ESM compatible context which might be from a .mjs or .mts module or .js or .ts under package.json using "type": "module". When using a bundler, TypeScript compilerOptions with "module": "esnext" and "moduleResolution": "bundler" remain supported.
Packages
All packages.
Expected Timeline
v3.0
Broken API or pattern
For all FluidFramework client packages, importing (
require()) for CommonJS support will be removed. Only ECMAScript Module (ESM) imports are directly supported.Preparation References
TypeScript consumers should only import in an ESM compatible context which might be from a .mjs or .mts module or .js or .ts under package.json using
"type": "module". When using a bundler, TypeScriptcompilerOptionswith"module": "esnext"and"moduleResolution": "bundler"remain supported.Packages
All packages.
Expected Timeline
v3.0