Skip to content

tommy351/ts-transformer-lodash-import

Repository files navigation

ts-transformer-lodash-import

Test

Rewrite lodash imports in TypeScript files, just like babel-plugin-lodash. Only ES module imports are supported.

Install

npm install ts-transformer-lodash-import --save-dev

Usage

Use with ttypescript.

{
  "compilerOptions": {
    "plugins": [{ "transform": "ts-transformer-lodash-import" }]
  }
}

Available options:

Name Description Type Default
appendExtension Append .js extension to lodash import. boolean false

License

MIT

About

Rewrite lodash imports in TypeScript files.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published