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

Stop leaking pluginId into the options passed to plugins #932

Merged
merged 1 commit into from
Jun 6, 2018
Merged

Stop leaking pluginId into the options passed to plugins #932

merged 1 commit into from
Jun 6, 2018

Conversation

edmorley
Copy link
Member

@edmorley edmorley commented Jun 6, 2018

Previously the Neutrino-specific pluginId option was being passed along with the plugin-specific options to the plugin constructor in many of the Neutrino presets.

Fixes #929.

Previously the Neutrino-specific `pluginId` option was being passed
along with the plugin-specific options to the plugin constructor in
many of the Neutrino presets.

Fixes #929.
@edmorley edmorley added this to the v9 milestone Jun 6, 2018
@edmorley edmorley self-assigned this Jun 6, 2018
@edmorley edmorley requested a review from eliperelman June 6, 2018 13:31
@edmorley
Copy link
Member Author

edmorley commented Jun 6, 2018

I wonder whether we actually need the ability to pass pluginId on all of these anyway? We don't support it in several other presets, and it's only for specific use-cases that customisation is required (eg html-template).

Thoughts on removing it from a proportion of the presets? (eg stylelint, ...)

@eliperelman
Copy link
Member

I'm indifferent on the plugin IDs. There are some where it's definitely helpful, but in some cases I'm wondering if it's hurting us or helping us.

@edmorley edmorley merged commit 162051f into neutrinojs:master Jun 6, 2018
@edmorley edmorley deleted the cleanup-pluginId branch June 6, 2018 14:09
@edmorley
Copy link
Member Author

edmorley commented Jun 6, 2018

I guess we can revisit later :-)

@edmorley edmorley added the bug label Jul 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

2 participants