systemjs / systemjs

Dynamic ES module loader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can the latest version 6.13.0 completely replace version 0.21?

V-MI opened this issue · comments

commented
  • 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!