lsqaisen / systemjs-babel

SystemJS ESM & TS Babel transform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SystemJS Babel Extension

Supports loading TypeScript for .ts and ES modules for .js files natively in the browser for easy development workflows.

Builds on top of the fetch hook in SystemJS supported by both the system.js and s.js builds.

The source transform is skipped for all System.register sources, thereby allowing interop of System modules, ES modules and TypeScript.

Specifically does not provide configuration hooks, because no type checking is performed and this is designed to handle current syntax only.

If a syntax or feature is supported in any browser, it should be supported here but polyfills are a non-goal. Feature requests and PRs welcome to improve support.

Usage

npm install systemjs-babel
<script src="systemjs/dist/s.js"></script>
<script src="dist/systemjs-babel.js"></script>
<script>
  System.import('./es-module.js');
</script>

Not Suitable for Production Workflows

LICENSE

MIT

About

SystemJS ESM & TS Babel transform

License:MIT License


Languages

Language:JavaScript 98.5%Language:HTML 1.4%Language:TypeScript 0.1%