spacedrive icon indicating copy to clipboard operation
spacedrive copied to clipboard

[ENG-203] Add import aliasing

Open spacedrive-bot opened this issue 2 years ago • 1 comments

import { useFocusState } from '@/hooks/useFocusState';

instead of

import { useFocusState } from '../../../hooks/useFocusState'; Jamie Pine on Linear

spacedrive-bot avatar Jul 14 '22 22:07 spacedrive-bot

Working on this on this branch https://github.com/spacedriveapp/spacedrive/tree/eng-203-add-import-aliasing

Unable to get it working, issue being the interface repo does not have a vite config, it is complied by the desktop repo. The resolve config should go in the desktop's vite config file, but after trying a bunch and Googling, I can not figure out the correct path to use.

jamiepine avatar Jul 15 '22 01:07 jamiepine