Skip to content

Latest update (3.0.0) breaks transpilation during bundling #103

Closed
@frederikschubert

Description

@frederikschubert

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"
    ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions