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
But the problem is, one of the dependencies is using process but the package is configured as esm module with type: module in it's package.json field. You can find the config field here https://unpkg.com/browse/[email protected]/package.json
And since, the package is using module flag. And in node~14 which supports it. Needs the file extension to import the package and so started to throw error. Something like this
I am not sure, where this should be handled, should webpack do it. Or should the plugins which polyfills the node stuff should take care of the extensions etc 😄. Please close this, if not in the scope of repo.
The text was updated successfully, but these errors were encountered:
Thanks for the plugin 😄
I am trying to use this plugins inside a docusaurus project which uses webpack 5.
So, i created a tiny wrapper around docusaurus, so i can inject this inside the webpack config.
https://github.com/JayaKrishnaNamburu/docusaurus-node-polyfills
But the problem is, one of the dependencies is using
process
but the package is configured asesm
module withtype: module
in it's package.json field. You can find the config field here https://unpkg.com/browse/[email protected]/package.jsonAnd since, the package is using
module
flag. And in node~14 which supports it. Needs the file extension to import the package and so started to throw error. Something like thisI am not sure, where this should be handled, should webpack do it. Or should the plugins which polyfills the node stuff should take care of the extensions etc 😄. Please close this, if not in the scope of repo.
The text was updated successfully, but these errors were encountered: