dir is the assets root (relative to the project root). aliases maps an import alias
to a subfolder of dir (empty string means dir itself). Example resolution with
{ dir: 'assets', aliases: { '@img': 'images' } }: @img/logo.png → <root>/assets/images/logo.png.
Static asset alias configuration.
diris the assets root (relative to the project root).aliasesmaps an import alias to a subfolder ofdir(empty string meansdiritself). Example resolution with{ dir: 'assets', aliases: { '@img': 'images' } }:@img/logo.png→<root>/assets/images/logo.png.