var exportsOfFile = require("livescript!./file.ls");
// => return exports of executed and compiled file.ls
Don't forget to polyfill require
if you want to use it in node.
See webpack
documentation.
livescript loader for webpack
var exportsOfFile = require("livescript!./file.ls");
// => return exports of executed and compiled file.ls
Don't forget to polyfill require
if you want to use it in node.
See webpack
documentation.
livescript loader for webpack