Skip to content

Commit

Permalink
Download Angular from a cdn instead of including in the bundle.
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Graber committed Oct 16, 2015
1 parent 1b70543 commit e8775be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Expand Up @@ -8,6 +8,7 @@
<h1>{{helloWorld.message}}</h1>
</header>

<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.7/angular.min.js"></script>
<script src="/dist/bundle.js"></script>
</body>
</html>
3 changes: 3 additions & 0 deletions webpack.config.js
Expand Up @@ -6,4 +6,7 @@ module.exports = {
path: path.resolve('dist'),
filename: 'bundle.js',
},
externals: {
'angular': 'angular',
},
};

0 comments on commit e8775be

Please sign in to comment.