Skip to content

Instantly share code, notes, and snippets.

@kinjouj
Last active October 26, 2016 12:04
Show Gist options
  • Save kinjouj/907327a7c390a80f95aac41946f9637f to your computer and use it in GitHub Desktop.
Save kinjouj/907327a7c390a80f95aac41946f9637f to your computer and use it in GitHub Desktop.
let Liftoff = require("liftoff");
let { jsVariants } = require("interpret");
new Liftoff(
{
name: "echo",
configName: "echo.config",
extensions: jsVariants
}
).launch({}, (env) => {
// echo.config.js or echo.config.babel.js
let configPath = env.configPath;
console.log(`loading ${configPath}`);
require(configPath);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment