Skip to content

Commit

Permalink
fix(build): modify rollup.config.js to work with Windows (#17231)
Browse files Browse the repository at this point in the history
  • Loading branch information
tja4472 authored and manucorporat committed Jan 23, 2019
1 parent b31b9f4 commit d26d43d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion angular/scripts/rollup.config.js
Expand Up @@ -12,7 +12,9 @@ export default {
return false;
}
// anything else is external
return !(id.startsWith('.') || id.startsWith('/'));
// Windows: C:\xxxxxx\xxx
const colonPosition = 1;
return !(id.startsWith('.') || id.startsWith('/') || id.charAt(colonPosition) === ':');
},
plugins: [
resolve({
Expand Down

0 comments on commit d26d43d

Please sign in to comment.