Skip to content
This repository was archived by the owner on Nov 27, 2018. It is now read-only.
This repository was 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

@mykmelez

Description

@mykmelez

@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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions