m0a / typescript-fsa-redux-observable

TypeScript FSA utilities for redux-observable
MIT License
28 stars 6 forks source link

Generated code is ES6 #2

Open Kobzol opened 7 years ago

Kobzol commented 7 years ago

Could you please ship ES5 code (in the dist folder)? The ES6 can cause problems with browser, UglifyJS and various other tools. It should be enough to change target in tsconfig.json to es3 or es5.

m0a commented 7 years ago

sorry. dist directory is dummy. will delete it direct use .ts

Kobzol commented 6 years ago

Deleting dist from this repository doesn't help, you still have the dist folder in package.json and you build it when you publish the package. A simpler fix would be to specify target: "es5" in tsconfig.json :-)