Skip to content

Commit

Permalink
fix(docz-rollup): handle defaultsExternal on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperorb authored and rakannimer committed Oct 6, 2019
1 parent 6eda128 commit e42c3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/docz-rollup/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const defaultExternal = id =>
!id.startsWith('\0') &&
!id.startsWith('~') &&
!id.startsWith('.') &&
!id.startsWith('/')
!id.startsWith(process.platform === 'win32' ? process.cwd() : '/')

const createOutput = (dir = 'dist', defaultOpts) => {
const opts = omitOpts(defaultOpts)
Expand Down

0 comments on commit e42c3ed

Please sign in to comment.