AngelMunoz / Finny

A cross-platform tool for unbundled front-end development that doesn't depend on Node or requires you to install a complex toolchain
https://perla-docs.web.app/
MIT License
132 stars 11 forks source link

Warn when perla-esbuild-plugin is not present in the plugins list #115

Closed AngelMunoz closed 1 year ago

AngelMunoz commented 1 year ago

Is your feature request related to a problem? Please describe.

We should show a console warning (and a way to disable it) when the esbuild plugin is not part of the configuration's plugin list.

the esbuild plugin is not really necessary as someone can create their own plugin to replace the same functionality however if no replacement is provided then the core-functionality in perla is affected

Describe the solution you'd like

Show a message in the console to warn the user that they took out a core plugin from the list

Describe alternatives you've considered N/A

Additional context

Taken from #113

AngelMunoz commented 1 year ago

I double checked that the schema warns you if you don't provide the default esbuild plugin and we also now show a warning in console when the plugin is missing for any particular reason