From a1333f3eaba65d98b8a56081d074c7b1c5b08944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Ste=CC=A8pien=CC=81?= Date: Tue, 24 Oct 2023 00:17:22 +0200 Subject: [PATCH] Removed import aliases in favor for relative imports, to help IDE with autocompletion and jsdocs support --- _dev/js/checkout.js | 2 +- _dev/js/listing.js | 2 +- _dev/js/product.js | 2 +- _dev/js/theme.js | 2 +- _dev/js/theme/components/sliders/PageSlider.js | 3 +-- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/_dev/js/checkout.js b/_dev/js/checkout.js index 81820aab..b0a5cbb0 100644 --- a/_dev/js/checkout.js +++ b/_dev/js/checkout.js @@ -1 +1 @@ -import '@js/checkout/index'; +import './checkout/index'; diff --git a/_dev/js/listing.js b/_dev/js/listing.js index 410a2cb5..7c6be154 100644 --- a/_dev/js/listing.js +++ b/_dev/js/listing.js @@ -1 +1 @@ -import '@js/listing/index'; +import './listing/index'; diff --git a/_dev/js/product.js b/_dev/js/product.js index 10a95714..7729838c 100644 --- a/_dev/js/product.js +++ b/_dev/js/product.js @@ -1 +1 @@ -import '@js/product/index'; +import './product/index'; diff --git a/_dev/js/theme.js b/_dev/js/theme.js index ee6c13f4..e3cfd59b 100644 --- a/_dev/js/theme.js +++ b/_dev/js/theme.js @@ -1 +1 @@ -import '@js/theme/index'; +import './theme/index'; diff --git a/_dev/js/theme/components/sliders/PageSlider.js b/_dev/js/theme/components/sliders/PageSlider.js index 1c081840..31296ef3 100644 --- a/_dev/js/theme/components/sliders/PageSlider.js +++ b/_dev/js/theme/components/sliders/PageSlider.js @@ -1,5 +1,4 @@ -import SwiperSlider from '@js/theme/components/sliders/SwiperSlider'; - +import SwiperSlider from './SwiperSlider'; class PageSlider { constructor() { this.observeElementClass = 'js-slider-observed';