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

Trying to import several files #4

Open
oliviermattei opened this issue Aug 14, 2021 · 0 comments
Open

Trying to import several files #4

oliviermattei opened this issue Aug 14, 2021 · 0 comments

Comments

@oliviermattei
Copy link

oliviermattei commented Aug 14, 2021

# ./first.yml
one: apple
# ./second.yml
second: banana
# ./main.yml
mapping:
  !import ./first.yml
  !import ./second.yml

configuration :

{
rules: [{
        test: /\.ya?ml$/,
        use: 'yaml-import-loader',
        options: {
          importRoot: true,
          importNested: false,
        },
      }],
}

And i have :
Error: options/query provided without loader (use loader + options) in {
"test": {},
"use": "yaml-import-loader",
"options": {
"importRoot": true,
"importNested": false
}
}

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