@babel/plugin-transform-modules-systemjs

    This plugin transforms ECMAScript modules to SystemJS. Note that only the syntax of import/export statements (import "./mod.js") and import expressions (import('./mod.js')) is transformed, as Babel is unaware of different resolution algorithms between implementations of ECMAScript modules and SystemJS.

    Out

    1. System.register([], function(_export, _context) {
    2. setters: [],
    3. execute: function() {
    4. _export("default", 42);
    5. });

    Without options:

    1. {
    2. "plugins": ["@babel/plugin-transform-modules-systemjs"]