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
The Nodejs path module has a posix property that explicitly forces the utilisation of the posix version of the path functions (this is important when developing unix apps on windows). Since this plugin supplies the join in posix form, I believe there should be a circular reference of path.posix that points back to itself. The currently generated code shows this:
There should be one more property called posix that points back to path. I'm not sure how that's done in Node, perhaps they point back to the path module?
The text was updated successfully, but these errors were encountered:
Based on calvinmetcalf/rollup-plugin-node-builtins#33
Another way of solving that is using the following patch:
```
--- node_modules/rollup-plugin-node-builtins/src/es6/path.js
+export var posix = {
+ relative: relative,
+ join: join,
+ isAbsolute: isAbsolute,
+ normalize: normalize,
+ resolve: resolve
+};
export default {
```
The Nodejs path module has a
posix
property that explicitly forces the utilisation of the posix version of the path functions (this is important when developing unix apps on windows). Since this plugin supplies the join in posix form, I believe there should be a circular reference ofpath.posix
that points back to itself. The currently generated code shows this:There should be one more property called
posix
that points back to path. I'm not sure how that's done in Node, perhaps they point back to the path module?The text was updated successfully, but these errors were encountered: