Skip to content
This repository was archived by the owner on Dec 1, 2019. It is now read-only.
This repository was archived by the owner on Dec 1, 2019. It is now read-only.

importHelpers option is broken and fails with "Cannot find module 'tslib'" #250

Open
@lhecker

Description

@lhecker

The new importHelpers feature in TypeScript does not seem to work with awesome-typescript-loader.

Setting this option in the tsconfig.json file:

{
    "compilerOptions": {
        "importHelpers": true
    }
}

causes the following error:

ERROR in [default]
Cannot find module 'tslib'.

even though the tslib module was successfully included by WebPack:

  [234] ./~/tslib/tslib.js 4.26 kB {0} [built]

Anything I can do to help you fix this issue? 🙂

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