Skip to content

Commit

Permalink
Removed import aliases in favor for relative imports, to help IDE wit…
Browse files Browse the repository at this point in the history
…h autocompletion and jsdocs support
  • Loading branch information
Oksydan committed Oct 23, 2023
1 parent cbce8b2 commit a1333f3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _dev/js/checkout.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import '@js/checkout/index';
import './checkout/index';
2 changes: 1 addition & 1 deletion _dev/js/listing.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import '@js/listing/index';
import './listing/index';
2 changes: 1 addition & 1 deletion _dev/js/product.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import '@js/product/index';
import './product/index';
2 changes: 1 addition & 1 deletion _dev/js/theme.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import '@js/theme/index';
import './theme/index';
3 changes: 1 addition & 2 deletions _dev/js/theme/components/sliders/PageSlider.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import SwiperSlider from '@js/theme/components/sliders/SwiperSlider';

import SwiperSlider from './SwiperSlider';

Check failure on line 1 in _dev/js/theme/components/sliders/PageSlider.js

View workflow job for this annotation

GitHub Actions / Code quality - ESLint

Expected 1 empty line after import statement not followed by another import
class PageSlider {
constructor() {
this.observeElementClass = 'js-slider-observed';
Expand Down

0 comments on commit a1333f3

Please sign in to comment.