Last active
October 26, 2016 12:04
-
-
Save kinjouj/907327a7c390a80f95aac41946f9637f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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