We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Copying from slack:
build()
start()
package.json
configChange
options.bus
middleware()
configUpdated(newConfig)
(If necessary, we can also listen for the event and fire the hook in the second RollupPluginContainer used by the CSS middleware)
this also nicely keeps the initial package.json + wmr.config.js parsing as a one-time (non-watch) thing that happens prior to build()/start().
The text was updated successfully, but these errors were encountered:
I started on this a little bit in #169 (needs to be factored into a separate PR). Still needs the package.json loading.
Sorry, something went wrong.
Closing since the config file handling has been greatly improved since this issue was created. We now support wmr.config.* config file 👍
wmr.config.*
No branches or pull requests
Copying from slack:
build()
orstart()
start()
sets up file watcher forpackage.json
. Successfully parsed file changes emit aconfigChange
event onoptions.bus
middleware()
listens for that event, and invokes a specialconfigUpdated(newConfig)
hook on all plugins.(If necessary, we can also listen for the event and fire the hook in the second RollupPluginContainer used by the CSS middleware)
this also nicely keeps the initial package.json + wmr.config.js parsing as a one-time (non-watch) thing that happens prior to build()/start().
The text was updated successfully, but these errors were encountered: