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

Can the latest version 6.13.0 completely replace version 0.21? #2448

Open
V-MI opened this issue Dec 19, 2022 · 0 comments
Open

Can the latest version 6.13.0 completely replace version 0.21? #2448

V-MI opened this issue Dec 19, 2022 · 0 comments

Comments

@V-MI
Copy link

V-MI commented Dec 19, 2022

  • SystemJS Version: 0.21
  • Which library are you using?
    • systemjs/dist/system.src.js

The babel in systemjs-plugin-babel of SystemJS 0.21 is too old to handle ?. syntax. So I want to upgrade SystemJS to 6.13.0. Can the latest version 6.13.0 completely replace version 0.21?
I am confused that [Loads any module format], which was one of the most important promotional points in the old version, is missing in the latest version. And it seems version 6.13.0 doesn't support AMD require and CommonJS Module.

Question

  1. Can the new api completely replace the old config-api? Is it possible to have an example document showing how to convert from the old config-api to the new api?
  2. Chutzpah still uses the old config-api, has the new version not been widely accepted yet?
  3. Is this project still committed to loading any module format? Are there plans to fully support AMD and CommonJS Module?

I also tried updating the version of the babel of systemjs-plugin-babel of SystemJS 0.21. That is, build a new systemjs-plugin-babel with the latest @babel/core@7.20.5. The disappointing thing is that the jspm 0.17.0-beta.49, which used to build also uses old version' SystemJS, systemjs-plugin-babel and babel, failed to build @babel/core@7.xx. It can't handle some of the new syntax in @babel/core@7.20.5. Is there a way to do the babel upgrading?

I will really appreciate your help.
Regards!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant