0

I am trying to create a bundle for an Angular2 app. Here is my jspm config file: https://gist.github.com/ivanbatic/fa4f2d76b44e0204f21d

When I start the app, although it starts 390 HTTP requests in order to render the "Hello World" string, it works.

So...I'm trying to create a bundle using jspm bundle app build.js --inject'

Afterwards, I get the following errors: js errors

Any suggestions on how to fix these?

Ivan Batić
  • 476
  • 2
  • 8
  • 1
    A working example might help: TypeScript: https://github.com/jackfranklin/ng2-jspm-typescript, JS: https://github.com/htdt/ng2-jspm – shmck Aug 07 '15 at 06:47

1 Answers1

0

TypeScript does not yet have bundling support in jspm. It can be used with dynamic modules loading. Traceur or babel transpiler can be used for bundle. (jspm 0.16.0-beta.3)

Alexander Ermolov
  • 1,337
  • 12
  • 5