Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate impact on Simorgh of packages switching from CommonJS to ESM #9577

Open
mfonofm opened this issue Oct 21, 2021 · 0 comments
Open
Assignees
Labels
investigation technical-work Technical debt, support work and building new technical tools and features

Comments

@mfonofm
Copy link
Contributor

mfonofm commented Oct 21, 2021

Is your feature request related to a problem? Please describe.
An increasing number of node packages are switching format from CommonJS (CJS) to ECMAScript Modules (ESM). We would like to investigate the impact on Simorgh of accommodating this switch.

Describe the solution you'd like
We would like to audit the packages in Simorgh and understand whether we need to refactor parts of the repo to accomodate switching formats.
As part of this investigation we will need to understand the breakdown of packages in Simorgh which use CommonJS vs ESM.

Describe alternatives you've considered

  • Continue using CommonJS modules until they are unusable and update packages to ESM on an ad-hoc basis
  • Use hybrid packages (combination of CommonJS and ESM)
@mfonofm mfonofm added investigation technical-work Technical debt, support work and building new technical tools and features labels Oct 21, 2021
@mfonofm mfonofm self-assigned this Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigation technical-work Technical debt, support work and building new technical tools and features
Projects
None yet
Development

No branches or pull requests

1 participant