When disabling all polyfills by using include: [],, I would expect the result not to be the same as leaving include as undefined, which means including all polyfills.
I would expect vite-plugin-node-polyfills to include no modules in that case. Instead, I have to pass include: [""], to get the same effect.
Currently, it seems vite or astro has a bug that breaks all
vite-plugin-node-polyfills
, but not the global variables.So I’m trying to keep:
When disabling all polyfills by using
include: [],
, I would expect the result not to be the same as leaving include asundefined
, which means including all polyfills.I would expect
vite-plugin-node-polyfills
to include no modules in that case. Instead, I have to passinclude: [""],
to get the same effect.