Skip to content

Commit

Permalink
Only transpile our code (no dependencies)
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed Jan 27, 2017
1 parent 88e6b8f commit 0a1556f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ const nodeVersion = require('node-version')
const pkg = require('../package')

// Support for keywords "async" and "await"
const pathSep = process.platform === 'win32' ? '\\\\' : '/'

asyncToGen({
includes: new RegExp(`.*release?${pathSep}(lib|bin).*`),
excludes: null

This comment has been minimized.

Copy link
@dinoboff

dinoboff Jan 27, 2017

Contributor

By default, "node_modules" is excluded. Why to just remove the exclude option to use the default one?

This comment has been minimized.

Copy link
@leo

leo Jan 28, 2017

Author Contributor

When installing release, it will be moved to a global "node_modules" directory. So it basically break because exactly that directory would be ignored (already tried it).

})

Expand Down

0 comments on commit 0a1556f

Please sign in to comment.