#Disabling alias "absolute path" import warning

1 messages · Page 1 of 1 (latest)

lusty cliff
#

Is it possible?

warning: rewrote @shared/ui/theme/tailwind.css to ../shared/ui/theme/tailwind.css but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
terse patio
#

I don’t think all warnings are designed to be ignored. Is this an alias you’ve configured yourself and is there any reason you cannot point it to an absolute path?

lusty cliff
#

Yeah, I've creted it myself, I need to point to a directory outside the nuxt project.

terse patio
#

Have you tried using node’s path module to point to the directory?