Skip to content

Commit

Permalink
Add watch script + babelrc
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed Aug 24, 2017
1 parent 22c8a6f commit 345f483
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/gatsby-module-loader/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"presets": [
["../../.babelrc.js", { "browser": true }]
]
}

1 change: 1 addition & 0 deletions packages/gatsby-module-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"watch": "babel -w src --out-dir . --ignore __tests__",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
Expand Down

0 comments on commit 345f483

Please sign in to comment.