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.
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.