Skip to content

Latest update (3.0.0) breaks transpilation during bundling #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
frederikschubert opened this issue Feb 8, 2016 · 3 comments
Closed

Comments

@frederikschubert
Copy link

I am using plugin-typescript 3.0.0 and jspm 0.16.27. Now when I run my application in the browser everything works just fine. However when I bundle my application using jspm bundle-sfx the code is not transpiled to es5. I am using this command to bundle my application:

jspm bundle-sfx src/app.ts bundle.js

Here is a part of my config.js:

  transpiler: "ts",
  typescriptOptions: {
    "module": "system",
    "noImplicitAny": false,
    "typeCheck": false,
    "tsconfig": true
  },
  packages: {
    "src": {
      "defaultExtension": "ts"
    }
  },
...

And my tsconfig.json:

{
  "compilerOptions": {
    "target": "es5",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "module": "system",
    "outDir": "tmp",
    "sourceMap": true,
    "moduleResolution": "node",
    "baseUrl": "./jspm_packages"
    ...
@frankwallis
Copy link
Owner

Thanks, this is due ti a change added for rollup support. See #97 (comment)

I am going to revert it for the time being.

@frankwallis
Copy link
Owner

I've reverted it in 3.0.2.

@frederikschubert
Copy link
Author

Thanks for the quick fix! Keep up the great work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants