Home

Awesome

Systemjs ES6 modules loader on both side

This package adds SystemJS Module Loader to your project. You can use import and export syntax on both client/server side.

This package add .sys.js extension to your app. ES6 codes in .sys.js extension files will be transpiled to systemjs loader compatible files. For example:

import 'jQuery'
export const FOO = 'SYSTEM';
import {FOO} from `./foo`
console.log(FOO);

then use a System.import() to load them

// this will load on both side
System.import('bar');

You can also use it with meteor-typescript. Transpile ts files to system and amd compatible js files.

$ meteor add tsumina:meteor-systemjs
$ meteor add tsumina:meteor-typescript  # add typescript compiler

SystemJS API

This package use SystemJS default configuration. Full SystemJS API docs can be found on their Github repo.

See detail about SystemJS

change log

0.3.6

0.3.4

0.3.2

0.3.1

0.2.1

0.1.0

Copyright and license

Code and documentation © 2015 TsumiNa Released under the MIT license.