-
Notifications
You must be signed in to change notification settings - Fork 1
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
gulp #20
Comments
You should just use gulp-babel and the lightscript preset or plugin: const gulp = require('gulp')
const babel = require('gulp-babel')
gulp.task('default', () =>
gulp.src('src/app.js')
.pipe(babel({
presets: ['lightscript']
// or for just the language:
// plugins: ['lightscript']
}))
.pipe(gulp.dest('dist'))
) |
@citycide is correct (thanks for sharing an example!) – hope this is ok to close @yukulele ? |
By the way, we're happy to help with little things as you get started in the gitter chat if you have more questions – http://gitter.im/lightscript/Lobby – though you're certainly more than welcome to open issues as well! (this one was certainly appropriate) |
Thanks, perfect ! |
Is it posible to compile lightscript via gulp? is there a
gulp-lightscript
library?The text was updated successfully, but these errors were encountered: