Closed Adam-it closed 8 months ago
As of now VS Coded extensions does not support es modules as internally it uses electron version 25. Es modules are supported from version 28 of electron. It is not still sure when VS Coded will be updated.
As of now we need to make a local copy of CLI for M365 withe reverted change to cjs. Along the way we may clear the npm package to include only the commands that are used in the extension
closing this as done and the support of es modules will be tracked in
🎯 Aim
The aim is to investigate what changes are needed and how the extension will behave if we update CLI to v7. In this major release CLI was refactored to esm modules.