dcbarrett / vscode-coffeescript-preview

Visual Studio Code CoffeeScript Preview Plugin
MIT License
4 stars 1 forks source link

use different coffee-script engine #5

Open davibe opened 7 years ago

davibe commented 7 years ago

this plugin should allow to specify which coffee binary to use for transpiling. Alternatively it should give priority to node_modules/.bin/coffee

The reason is that one may install a specific version of coffee which makes output more specific. In my case i am using branch 2 of coffee script which supports async and await but this plugin does not compile it correctly

MartinBucko commented 7 years ago

+1 - also fix: Error: reserved word 'export'; line: 3, column: 1] Error: reserved word 'import'; line: 1, column: 1]

laurentpayot commented 6 years ago

made PR #7 for this