How can I gulp with ES6/Harmony
See original GitHub issueMy module uses ES6/Harmony features and as such I need to run node like this:
node --harmony <app.js>
(There’s no way of enabling Harmony features at runtime - see this).
So to get gulp working I’m doing this:
node --harmony `which gulp`
Not nice, but it works. Unfortunately even if the build fails the exit code for the run is 0. Is there any way of getting this working?
Issue Analytics
- State:
- Created 10 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
npm:gulp-es6-module-jstransform | Skypack
Transpile ES6 modules to CommonJS with es6-module-jstransform. Usage no npm install needed! Copy. Open in CodePen.
Read more >Uglify SyntaxError: Unexpected token: punc ()) - Stack Overflow
I am trying to use gulp in order to ...
Read more >gulp-render CDN by jsDelivr - A CDN for npm and GitHub
A free, fast, and reliable CDN for gulp-render. Pre-render React components at ... gulppluginreactjsxrenderrenderingjavascriptes6harmonycompilertranspiler.
Read more >nodequad - npm Package Health Analysis | Snyk
Node library to communicate with aeroquad multicopter platform For more information about how to use this package see README · Ensure you're using...
Read more >rewriting - Npms.io
local_offercodegen, desugaring, ecmascript, es5, es6, harmony, javascript, ... Gulp plugin that transpiles ES6 Unicode regular expressions to ES5.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Note that using harmonize doesn’t allow you to use es6 syntax in the gulpfile.js itself.
A better way would be to use harmonize. See: http://stackoverflow.com/a/28412779/115493