Skip to content

custom indexPath does result in a unusable path for the index page in the precache-manifest.json #2007

Closed
@LostKobrakai

Description

@LostKobrakai

Version

3.0.0-rc.10

Steps to reproduce

// vue.config.js
module.exports = {
  indexPath: '../../lib/lending_buddy_web/templates/layout/index.html.eex'
}

This config results in the following service worker manifest. As I'm serving the index markup from a server side framework I'd need "/" to be the url. It might also need to be configurable

What is expected?

self.__precacheManifest = [
  {
    "revision": "f01300d30b274b1d071ffcfd96abd04b",
    "url": "/"
  }, []
];

What is actually happening?

self.__precacheManifest = [
  {
    "revision": "f01300d30b274b1d071ffcfd96abd04b",
    "url": "/../../lib/lending_buddy_web/templates/layout/index.html.eex"
  }, []
];

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions