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

Should 'json' plugin recognize 'empty:'? #35

Open
ds82 opened this issue Aug 22, 2013 · 1 comment
Open

Should 'json' plugin recognize 'empty:'? #35

ds82 opened this issue Aug 22, 2013 · 1 comment

Comments

@ds82
Copy link

ds82 commented Aug 22, 2013

It would be nice, if the json plugin would recognize the 'empty:' directive during the build. I know about inlineJSON: false, but it would be cool to inline some JSONs and others not.

@millermedeiros
Copy link
Owner

I agree it would be nice but I'm not sure if the paths config works with resources loaded by plugins (I remember it wasn't possible some time ago). Maybe it will require a new setting like:

json : {
  empty: [ 'foo.json' ]
}

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

No branches or pull requests

2 participants