Skip to content

Commit

Permalink
Merge pull request #134 from sliit-foss/feature/timekeeper
Browse files Browse the repository at this point in the history
Fix: babel config file path in command
  • Loading branch information
Akalanka47000 authored Jan 1, 2024
2 parents c9b924f + 99a8d4b commit d47d7b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/timekeeper/src/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ const runner = async (p, options) => {

console.info(`[Timekeeper] transpiling...`.green);

await exec(`npx babel ${p} --out-dir ./out --copy-files --config-file=./babel.config.js`);
await exec(
`npx babel ${p} --out-dir ./out --copy-files --config-file=${path.join(__dirname, "..", "babel.config.js")}`
);

console.info(`[Timekeeper] executing...`.green);

Expand Down

0 comments on commit d47d7b0

Please sign in to comment.