From 058ad5fa2f955bfaab26042c3b468a681dd601df Mon Sep 17 00:00:00 2001 From: sacr3dc0w Date: Mon, 18 Jun 2018 09:20:52 -0700 Subject: [PATCH] Add alias for lazysizes module to bundle minified library --- CHANGELOG.md | 1 + webpack.common.js | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19e95f8dc1..f9f709eaeb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Fix svg arrows missing on AMP product pages. [#1258](https://github.com/bigcommerce/cornerstone/pull/1258) - Fix for Changing Menu Colors In Theme Editor Not Respected In Mobile View [#1266](https://github.com/bigcommerce/cornerstone/pull/1266) - Fix arrow placement on currency dropdown menu [#1267](https://github.com/bigcommerce/cornerstone/pull/1267) +- Add alias for lazysizes module to bundle minified library [#1275](https://github.com/bigcommerce/cornerstone/pull/1275) ## 2.1.0 (2018-06-01) - Add Newsletter summary section to subscription form. [#1248](https://github.com/bigcommerce/cornerstone/pull/1248) diff --git a/webpack.common.js b/webpack.common.js index b5036482aa..6fa36b9b69 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -60,6 +60,7 @@ module.exports = { alias: { 'jquery-migrate': path.resolve(__dirname, 'node_modules/jquery-migrate/dist/jquery-migrate.min.js'), jstree: path.resolve(__dirname, 'node_modules/jstree/dist/jstree.min.js'), + 'lazysizes': path.resolve(__dirname, 'node_modules/lazysizes/lazysizes.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'), 'svg-injector': path.resolve(__dirname, 'node_modules/svg-injector/dist/svg-injector.min.js'),