Skip to content

Commit

Permalink
Update webpack.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianbarwicki authored Nov 5, 2018
1 parent fb757c5 commit 7a7d3e8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,9 @@ module.exports = {
],
},
externals: {
// shows how we can rely on browser globals instead of bundling these dependencies,
// in case we want to access jQuery from a CDN or if we want an easy way to
// avoid loading all moment locales: https://github.com/moment/moment/issues/1435
jquery: '$',
moment: 'moment'
},
resolve: {
extensions: [ '*', '.ts', 'js', 'css' ]
extensions: [ '*', '.ts', '.js', '.css' ]
},
optimization: {
minimizer: [new UglifyJsPlugin({
Expand Down

0 comments on commit 7a7d3e8

Please sign in to comment.