diff --git a/packages/babili/src/index.js b/packages/babili/src/index.js index e62319300..d30cb9e5a 100644 --- a/packages/babili/src/index.js +++ b/packages/babili/src/index.js @@ -3,7 +3,7 @@ import child from "child_process"; const args = [ require.resolve("babel-cli/bin/babel.js"), ...process.argv.slice(2), - "--presets=babili", + `--presets=${require.resolve("babel-preset-babili")}`, "--no-babelrc", ];