VirtoCommerce / vc-theme-default

Default theme for VirtoCommerce Storefront
http://demo.virtocommerce.com/Electronics
Other
3 stars 41 forks source link

Eliminate the all js dependencies that are loaded from CDN resources. Use local version instead. #46

Closed tatarincev closed 5 years ago

tatarincev commented 6 years ago

Need to move all js packages that are loaded from CDN resources in these files: https://github.com/VirtoCommerce/vc-theme-default/blob/master/layout/theme.liquid https://github.com/VirtoCommerce/vc-theme-default/blob/master/layout/checkout_layout.liquid https://github.com/VirtoCommerce/vc-theme-default/blob/master/layout/account_layout.liquid

into bundle/scripts.js bundle which is included in the layout page by this statement {{ 'bundle/scripts.js' | static_asset_url | append_version | script_tag }}

Technical details: I guess we can use for this bower package manager. See how it done in the platform https://github.com/VirtoCommerce/vc-platform/blob/master/VirtoCommerce.Platform.Web/gulpfile.js#L18

yecli commented 5 years ago

Released in v1.3.3.