Skip to content

Commit

Permalink
slight adjustments to README
Browse files Browse the repository at this point in the history
  • Loading branch information
bumblehead committed Oct 11, 2023
1 parent 3e3aec4 commit ca73761
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ resolvewithplus('react-dom/server', '/resolvewith/test/', {
// 'file:///resolvewith/node_modules/react-dom/server.browser.js'

resolvewithplus('react-dom/server', '/resolvewith/test/', {
priority: ['deno', 'browser', 'default']
priority: ['browser', 'default']
})
// 'file:///resolvewith/node_modules/react-dom/server.deno.js'
// 'file:///resolvewith/node_modules/react-dom/server.browser.js'
```


`resolvewithplus` resolves module paths à la [node.js' import.meta.resolve function][33] and the [import-meta-resolve npm package.][35] It exists mostly to be small and to resolve module paths for `esmock`. [It's size is ~6kB][36] compared to [import-meta-resolve's ~76kB size.][37] For more details, [see the wiki.](https://github.com/iambumblehead/resolvewithplus/wiki)
`resolvewithplus` resolves module paths à la [node.js' import.meta.resolve function][33] and the [import-meta-resolve npm package.][35] It exists mostly to be small and to resolve module paths for `esmock`. [It's size is ~7kB][36] compared to [import-meta-resolve's ~76kB size.][37] For more details, [see the wiki.](https://github.com/iambumblehead/resolvewithplus/wiki)

![scrounge](https://github.com/iambumblehead/scroungejs/raw/main/img/hand.png)

Expand Down

0 comments on commit ca73761

Please sign in to comment.