JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<head>
<title>ng2-systemjs-build</title>
<script src="/node_modules/angular2/bundles/angular2-polyfills.min.js"></script>
<script src="/jspm_packages/system.js"></script>
<script>
System.config({
baseURL: "/",
defaultJSExtensions: true,
transpiler: "babel",
babelOptions: {
"optional": [
"runtime",
"optimisation.modules.system"
]
},
paths: {
"github:*": "jspm_packages/github/*",
"npm:*": "jspm_packages/npm/*"
},
packages: {
"app": {
"main": "bootstrap",
"format": "system",
"defaultExtension": "js"
}
},
map: {
"angular2": "npm:angular2@2.0.0-beta.9",
"babel": "npm:babel-core@5.8.38",
"babel-runtime": "npm:babel-runtime@5.8.38",
"core-js": "npm:core-js@1.2.6",
"systemjs-hot-reloader": "github:capaj/systemjs-hot-reloader@0.5.6",
"ts": "github:frankwallis/plugin-typescript@4.0.5",
"github:capaj/systemjs-hot-reloader@0.5.6": {
"debug": "npm:debug@2.2.0",
"socket.io-client": "github:socketio/socket.io-client@1.4.5",
"weakee": "npm:weakee@1.0.0"
},
"github:frankwallis/plugin-typescript@4.0.5": {
"typescript": "npm:typescript@1.8.9"
},
"github:jspm/nodelibs-assert@0.1.0": {
"assert": "npm:assert@1.3.0"
},
"github:jspm/nodelibs-buffer@0.1.0": {
"buffer": "npm:buffer@3.6.0"
},
"github:jspm/nodelibs-constants@0.1.0": {
"constants-browserify": "npm:constants-browserify@0.0.1"
},
"github:jspm/nodelibs-crypto@0.1.0": {
"crypto-browserify": "npm:crypto-browserify@3.11.0"
},
"github:jspm/nodelibs-events@0.1.1": {
"events": "npm:events@1.0.2"
},
"github:jspm/nodelibs-http@1.7.1": {
"Base64": "npm:Base64@0.2.1",
...