File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ npm install @isomorphic-git/path-browserify
15
15
## Usage
16
16
17
17
``` javascript
18
- import path from ' @isomorphic-git/path' ;
18
+ import path from ' @isomorphic-git/path-browserify ' ;
19
19
20
20
const filename = ' logo.png' ;
21
21
const logo = path .join (' ./assets/img' , filename);
@@ -25,13 +25,13 @@ document.querySelector('#logo').src = logo;
25
25
Methods under ` path ` can be imported individually.
26
26
27
27
``` javascript
28
- import { join } from ' @isomorphic-git/path' ;
28
+ import { join } from ' @isomorphic-git/path-browserify ' ;
29
29
```
30
30
31
31
If your project uses CommonJS, this is also supported.
32
32
33
33
``` javascript
34
- const path = require (' @isomorphic-git/path' );
34
+ const path = require (' @isomorphic-git/path-browserify ' );
35
35
```
36
36
37
37
## API
You can’t perform that action at this time.
0 commit comments