mrsteele / dotenv-webpack

A secure webpack plugin that supports dotenv and other environment variables and only exposes what you choose and use.
MIT License
1.3k stars 74 forks source link

Support typescript #99

Closed FDiskas closed 6 years ago

FDiskas commented 6 years ago

There is missing type definitions :(

mrsteele commented 6 years ago

@FDiskas I would be lying if I said I could resolve this issue easily.

Would you mind maybe taking a stab at it and submit a PR?

FDiskas commented 6 years ago

Write your plugin with type script and it will generate definitions. You can use https://github.com/nfq-eta/react-router4-with-layouts as boiler plate

karol-majewski commented 6 years ago

I believe this can be closed. The types were added 5 months ago:

https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dotenv-webpack