Skip to content

How to define HTML files in web_accessible_resources? #378

Answered by jacksteamdev
DaPotatoMan asked this question in Q&A
Discussion options

You must be logged in to vote

I remember people raising this question before, and we need to figure out some best practices.

I can think of two use cases from the build tool perspective:

  • HTML files that should be copied and web-accessible
  • HTML files that should be built and web-accessible

@DaPotatoMan I want to be sure I understand:

  • What is your use case?
    • Are you accessing index.html from a content script?
  • What are you doing with the HTML file?
  • Have you tried it without web_accessible_resources?

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@jacksteamdev
Comment options

@jacksteamdev
Comment options

@filipw01
Comment options

@DaPotatoMan
Comment options

@jacksteamdev
Comment options

Answer selected by DaPotatoMan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants