We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d034db commit 58b12ebCopy full SHA for 58b12eb
package.json
@@ -22,6 +22,7 @@
22
"babel": "babel src -d lib -D --source-maps",
23
"babel-test": "babel test -d test -D --source-maps",
24
"watch-babel": "babel src -d lib -w -D --source-maps",
25
+ "prepublish": "npm run build",
26
"build": "npm-run-all clean lint babel",
27
"dev": "npm-run-all clean --parallel watch-lint watch-babel"
28
},
src/index.es6
@@ -32,8 +32,6 @@ export default function(options) {
32
files = files.concat(files, glob.sync(path.resolve(filePathPart), {}))
33
})
34
35
- console.log(files)
36
-
37
let baseDir
38
if (files && files.length === 1) {
39
baseDir = files[0].split('/').slice(0,-1).join('/')
0 commit comments