Skip to content

Commit

Permalink
fix(examples): use ./ prefix on babel config file
Browse files Browse the repository at this point in the history
Otherwise if it's in a subfolder, babel will think it's an npm package
  • Loading branch information
Alex Eagle authored and alexeagle committed Aug 13, 2020
1 parent 746a6f8 commit 374f56f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ babel(
args = [
"app.js",
"--config-file",
"$(execpath es5.babelrc)",
"./$(execpath es5.babelrc)",
"--out-file",
"$(execpath app.es5.js)",
],
Expand Down
2 changes: 1 addition & 1 deletion examples/webapp/differential_loading.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def differential_loading(name, entry_point, srcs):
args = [
"$(execpath %s_chunks)" % name,
"--config-file",
"$(execpath es5.babelrc)",
"./$(execpath es5.babelrc)",
"--out-dir",
"$(@D)",
],
Expand Down

0 comments on commit 374f56f

Please sign in to comment.