-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
Method
Decaffeination can be done easily using:
decaffeinate . --use-js-modules --loose
or without automatic import/export
decaffeinate . --loose
or without loose modifications (the safest but worst looking)
decaffeinate .
We need to run either of those and then fix the linkage of modules manually. We don't need to use import/export
, but it will help to reduce excess deps in Webpack.
Why
- Webpack build fails because of coffee files Webpack #714.
- Helps TypeScript
Side-Note
There is also bulk-decaffeinate that automatically searches for connections, but it doesn't work well on Windows (I couldn't get it to work).
- I will test on my Linux machine to see if it works there
- If you want to try this, you need Eslint from Eslint + GithubActions instead of Travis/Appveyor #712
https://github.com/decaffeinate/bulk-decaffeinate
decaffeinate/bulk-decaffeinate#265
Metadata
Metadata
Assignees
Labels
No labels