-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
Packages that need to be updated to support ESModules:
@loopback/boot@loopback/build@loopback/cliexamples/*
The path to supporting ESModules can be broken down into three stages:
- Second-class support for ESModules: Projects should be able to switch over to ESModule by simply setting
type: moduleinpackage.json - First-class support for ESModules:
lb4commands should detect and generate ESModule artifacts - Default to ESModules: Use ESModules in
examples/and defaultlb4 appCLI to generating ESModule-based LB4 project
Similar to action-based sequences, we should not drop support for CommonJS entirely, but instead indefinitely deprecate it by the end of stage 3. This means continuing to generate CommonJS @loopback/* packages.
dhmlau, CedBadarou, murphyslaw, AdamSmid and molvqingtai