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

[plugins] re-enable publicDir option, but require that it is "public" #6054

Merged
merged 3 commits into from
Feb 1, 2016

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Jan 29, 2016

In spalger@402dfe9 I removed the ability for plugins to specify their "publicDir" because we needed a predicatble way to find files destined for the front-end.

This prevented us from allowing multiple plugins to be nested inside another plugin, which we knew we would need.

This re-enabled the plugin.publicDir, but requires that it end in a directory called "public". This way, we can still do generic "**/public/**/*.js" type selectors, and plugins can be nested.

@w33ble
Copy link
Contributor

w33ble commented Feb 1, 2016

We some tests around plugins...

EDIT: Gave this a run, looks good. I want to test with an actual package though, that's the hold up right now. This should be GTG though.

@w33ble
Copy link
Contributor

w33ble commented Feb 1, 2016

Works a treat, thanks for the fix!

w33ble added a commit that referenced this pull request Feb 1, 2016
[plugins] re-enable publicDir option, but require that it is "public"
@w33ble w33ble merged commit 5c29d53 into elastic:master Feb 1, 2016
@spalger spalger deleted the implement/pluginPublicDir branch February 25, 2016 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants