Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Is there any alias support at all? #3

Open
mdix opened this issue Feb 11, 2021 · 0 comments
Open

Is there any alias support at all? #3

mdix opened this issue Feb 11, 2021 · 0 comments

Comments

@mdix
Copy link

mdix commented Feb 11, 2021

Thanks @ngfk for working at this loader.

I tried to make this work, but I get an undefined alias error:

STATUS:
  DRAFT: &draft 'draft'

STATUS_ICON:
  *draft: 'draft'

Error is

Module build failed (from ./node_modules/yaml-import-loader/dist/index.js):
YAMLException: unidentified alias "draft:" in "status.const.yaml" at line 9, column 10:
      *draft: 'draft'

Did I understand the aliases wrong? I checked with a yaml to json parser and it worked well. Thanks for your help. :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant