diff --git a/CHANGELOG.md b/CHANGELOG.md index c5fa6d87dd..72358be5be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Move some hard-coded validation messages to language file [#1040](https://github.com/bigcommerce/cornerstone/pull/1040) - Use different id for gift cert in cart page [#1044](https://github.com/bigcommerce/cornerstone/pull/1044) - Restore product image carousel [#1028](https://github.com/bigcommerce/cornerstone/pull/1028) +- Reduce theme bundle size by using minified libraries where applicable [#1039](https://github.com/bigcommerce/cornerstone/pull/1039) ## 1.9.0 (2017-07-18) - Product Images were obscuring product details on smaller viewports [#1019](https://github.com/bigcommerce/cornerstone/pull/1019) diff --git a/webpack.conf.js b/webpack.conf.js index 384bcb0be3..02274b8218 100644 --- a/webpack.conf.js +++ b/webpack.conf.js @@ -65,9 +65,12 @@ module.exports = { ], resolve: { alias: { + 'async': path.resolve(__dirname, 'node_modules/async/dist/async.min.js'), 'html5-history-api': path.resolve(__dirname, 'node_modules/html5-history-api/history.min.js'), jquery: path.resolve(__dirname, 'node_modules/jquery/dist/jquery.min.js'), + 'jquery-zoom': path.resolve(__dirname, 'node_modules/jquery-zoom/jquery.zoom.min.js'), jstree: path.resolve(__dirname, 'node_modules/jstree/dist/jstree.min.js'), + 'pace': path.resolve(__dirname, 'node_modules/pace/pace.min.js'), 'slick-carousel': path.resolve(__dirname, 'node_modules/slick-carousel/slick/slick.min.js'), }, },