Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

How to use HTML templates other than index.html #3

Open
shishtpal opened this issue Aug 20, 2020 · 0 comments
Open

How to use HTML templates other than index.html #3

shishtpal opened this issue Aug 20, 2020 · 0 comments

Comments

@shishtpal
Copy link

Snowpack performance is very good and I am still trying it out, I am trying to build chrome extension with Imba@2 with snowpack template, This json code below from package.json

    "plugins": [
      [
        "imba-snowpack",
        {
          "entrypoints": [
            "app-options",
            "app-popup"
          ]
        }
      ]
    ]

My project structure

- src
- static
    - index.html
    - options.html
    - popup.html
    - background.js

when I run npm run start it starts local dev server http://localhost:8080/index.html but I wants to access http://localhost:8080/options.html, which returns the same content as index.html

thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant