Skip to content

Compilation problem using commonjs/es6 #23

Description

@ilariaventurini

Inside tsconfig.json there is an attribute called module: "". Its value can be commonjs, es6, ...

If in data-juggler the value is module: "commonjs", you can:

  • yarn test
  • yarn build
  • npx ts-node ./benchmark-test/create-dataset.ts
  • npx ts-node ./benchmark-test/main.ts

but if you run views, then you have this error:

referenceError

So, change module: "commonjs" in module: "es6" then:

  • yarn build
  • run views.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions