Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

oghliner offline ./dist/ doesn't strip dist/ from paths of offlined files #280

Open
mykmelez opened this issue Mar 8, 2016 · 0 comments
Labels

Comments

@mykmelez
Copy link
Contributor

mykmelez commented Mar 8, 2016

@digitarald's chromatic-tuner-web-app uses the Oghliner CLI to offline the app by calling oghliner offline ./dist/:

https://github.com/digitarald/chromatic-tuner-web-app/blob/0db453a7883e44abea10a1aff0f7d71f5dfccbbb/package.json#L10

Calling oghliner offline ./dist/ should strip the dist/ prefix from the paths of the files that it lists in the dist/offline-worker.js file, but it doesn't. Calling oghliner offline dist/, however, correctly strips that prefix.

Perhaps we need to normalize the root dir before using it to strip the prefix?

@delapuente delapuente added the bug label Mar 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants