You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should add a node: scheme handler within this plugin, and then remove it when Webpack supports it by default.
I think it would rewrite all of the node:* imports to *, for every import that this plugin is polyfilling.
Alternatively, we could make it a separate plugin, though I'm not sure whether that would mean we use it here or ask the user to use it elsewhere.
When this webpack issue is resolved: webpack/webpack#14166
According to this comment, the
path:
scheme is only supported by webpack if the target isnode
:webpack/webpack#12693 (comment)
And I don’t think there's any
node:
scheme handler either, which makes this plugin possibly the "right place" to fix this.The text was updated successfully, but these errors were encountered: