Allow overriding browser entry points ignore list
See original GitHub issueDescription
Summary: We would like to be able to override the following list: https://github.com/brillout/vite-plugin-ssr/blob/547e5ebaf76b2300457ec85bd027956abba31ef4/vite-plugin-ssr/node/plugin/build.ts#L85
Background:
We are developing an abstraction layer over vite
/vite-plugin-ssr
. Users can install our npm module, which handles the rendering for certain use cases with minimal code from the user’s side. The entry point to the project and build options are also handled by the npm module. This means in the user’s project, the entry point will be in node_modules
, in our module. The line of code linked above is causing us issues as it ignores files in node_modules
.
We would like to be able to provide a config option to vite-plugin-ssr
to override this ignore list with custom entries.
Implementation:
I wanted to implement this and make a PR but wasn’t sure which approach to take from a design perspective, as the plugin as it is now doesn’t take any options that I could look at for guidance.
Issue Analytics
- State:
- Created a year ago
- Comments:13 (8 by maintainers)
Top GitHub Comments
👍 Let me know if you need something. I’m keen on supporting use cases like yours. Note that, as the author of vps, I may find solutions to problems you think are not solvable; so feel free to keep me updated.
No offense taken 😃.
I’m looking forward to enabling easy framework building 😃.
On Mon, Jun 13, 2022 at 5:38 PM Hannes Hertach @.***> wrote: