browserify / browserify/path-browserify

How to use this library from CDN?

Open
#24 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
192
Forks
54
PR merge metrics
No merged PRs in 30d

Description

I've tried to use on Codepen: https://cdn.jsdelivr.net/npm/path-browserify but this library can't be used in browser because it use module.export not UMD.

So I've tried to use browserify to build standalone file but it doesn't work:
```
browserify -s path -o path.js -e node_modules/path-browserify/index.js
```

got error that path.join is not a function because path is empty object.

How anyone can use this library in browser?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.