otter
otter copied to clipboard
Migrate schematics to ESM
Description
Context
Today the Schematics and Builders are exposed in CommonJs.
The issue with it is that a CommonJs cannot import ESM module.
To fix it, a future proof solution would be to migrate the builders and schematics to ESM (with .mjs
extension).
Proposal
- Migrate the
@o3r/extractors
,@o3r/dev-tools
and@o3r/schematics
packages to ESM types. - Migrate the package's builders and schematics to ESM