-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coffeescript 2 with transpile + inlined source maps? #91
Comments
I'm getting error:
My gulp task:
|
I'm experiencing the same problem. Any progress on this? |
Does adding |
Hi contra, Thanks for the reply. {transpile: {presets: ['env']}, sourceMap: true, inlineMap: true} |
just got the same problem, any one could help? |
➕ 1️⃣ |
Couple of pointers to help you all:
|
i guess my issue was more with just being able to transpile at all... gulp-coffee doesn't support the coffeescript's transpile feature. also, i was unable to get sourcemaps to work with gulp 4... i had to still use the gulp-sourcemaps plugin. i currently don't have my project in a state to test it ATM, but would be good to hear someone confirm it is actually working... |
You can use Example: var gulp = require('gulp');
var babel = require('gulp-babel');
var coffee = require('gulp-coffee');
gulp.task('coffee', function() {
gulp.src('./src/*.coffee', { sourcemaps: true })
.pipe(coffee({bare: true}))
.pipe(babel({presets: ['@babel/preset-env']}))
.pipe(gulp.dest('./public/', { sourcemaps: true })); // change to , { sourcemaps: '.' } to generate external sourcemaps
}); The transpile option should work, but it does not at the moment. |
Please include configuration examples to README.md
The text was updated successfully, but these errors were encountered: