Skip to content

Commit 374f56f

Browse files
Alex Eaglealexeagle
authored andcommitted
fix(examples): use ./ prefix on babel config file
Otherwise if it's in a subfolder, babel will think it's an npm package
1 parent 746a6f8 commit 374f56f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ babel(
7979
args = [
8080
"app.js",
8181
"--config-file",
82-
"$(execpath es5.babelrc)",
82+
"./$(execpath es5.babelrc)",
8383
"--out-file",
8484
"$(execpath app.es5.js)",
8585
],

examples/webapp/differential_loading.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def differential_loading(name, entry_point, srcs):
3636
args = [
3737
"$(execpath %s_chunks)" % name,
3838
"--config-file",
39-
"$(execpath es5.babelrc)",
39+
"./$(execpath es5.babelrc)",
4040
"--out-dir",
4141
"$(@D)",
4242
],

0 commit comments

Comments
 (0)