Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to exclude the values #77

Open
veeramarni opened this issue Aug 22, 2018 · 1 comment
Open

how to exclude the values #77

veeramarni opened this issue Aug 22, 2018 · 1 comment

Comments

@veeramarni
Copy link

How to exclude unflattening the values of the key?

    'files.exclude': {
        default: { '**/.git': true, '**/.svn': true, '**/.hg': true, '**/CVS': true, '**/.DS_Store': true },
  }

Output:

  { files: {
     exclude: {
      "default": Object {
        "**/": Object {
          "DS_Store": true,
          "git": true,
          "hg": true,
          "svn": true,
        },
        "**/CVS": true,
      }
 }
} 

Expectation

{ files: { exclude: { default: { '**/.git': true, '**/.svn': true, '**/.hg': true, '**/CVS': true, '**/.DS_Store': true }}}}
@antony
Copy link

antony commented Jan 18, 2019

See the coercion feature in https://www.npmjs.com/package/flatley

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

No branches or pull requests

2 participants