An open API service indexing awesome lists of open source software.

https://github.com/phfaist/parcel-resolver-root

Resolver to customize '/' and '~' prefix locations
https://github.com/phfaist/parcel-resolver-root

Last synced: 9 months ago
JSON representation

Resolver to customize '/' and '~' prefix locations

Awesome Lists containing this project

README

          

# parcel-resolver-root

Customize the root paths from which '/' and '~' resolve to. Compatible with the
new Parcel resolver.

Add the following config in your `package.json` in your project root:
```
"@phfaist/parcel-resolver-root": {
"prefixPaths": {
"~": "/path/for/tilde",
"/": "/path/for/root/slash"
}
},
```
where the paths are specified with respect to the configuration file's location
(i.e., the project root).