Skip to content
Permalink
Browse files

fix(build): modify rollup.config.js to work with Windows (#17231)

  • Loading branch information...
tja4472 authored and manucorporat committed Jan 23, 2019
1 parent b31b9f4 commit d26d43d6abbe65f780f136062c57bdef1e88cfe7
Showing with 3 additions and 1 deletion.
  1. +3 −1 angular/scripts/rollup.config.js
@@ -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({

0 comments on commit d26d43d

Please sign in to comment.
You can’t perform that action at this time.