You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you very much for this amazing project. It is what LS needs, from my perspective.
However, the entry point for a total newcomer is a bit tough.
I've been reading documentation a couple of times and I'm still not clear, and the fact that examples are on LS is not helping either.
Seems that I have to write a compiler file, with a babel options inside it ? This is a bit weird knowing that normally you use babel by just writing a babelrc file and then just executing the cli.
Even if you deduct or understand that (which is not obvious) there are no instructions about how to compile files or how to output them somewhere.
Thanks.
The text was updated successfully, but these errors were encountered:
You can have as many scripts as you want. You can also omit the NODE_ENV variable if you don't need it (usually when production mode some optimizations are applied)
Now just put as many livescript files as you may want on the src folder, and execute npm run build. A new folder called lib should be created and it should contain the compiled .js files.
Of course make sure you have all the required dependencies installed:
livescript
livescript-next
babel-plugin-transform-es2015-modules-commonjs-simple or babel-plugin-transform-es2015-modules-commonjs
Hello,
First of all, thank you very much for this amazing project. It is what LS needs, from my perspective.
However, the entry point for a total newcomer is a bit tough.
I've been reading documentation a couple of times and I'm still not clear, and the fact that examples are on LS is not helping either.
Seems that I have to write a compiler file, with a babel options inside it ? This is a bit weird knowing that normally you use babel by just writing a babelrc file and then just executing the cli.
Even if you deduct or understand that (which is not obvious) there are no instructions about how to compile files or how to output them somewhere.
Thanks.
The text was updated successfully, but these errors were encountered: