NekitCorp / chrome-extension-svelte-typescript-boilerplate

Boilerplate for Chrome Extension Svelte Typescript project
237 stars 50 forks source link

Excluding certain files #4

Closed avi12 closed 2 years ago

avi12 commented 2 years ago

I ran into a situation where I need to customize the build script so only the Chrome version will have certain files, as well as only the Chrome's Manifest will list those files

E.g.

src
  chrome-specific
    a.js
    b.js
{
  "content_scripts": [
    {
      "matches": ["https://domain.com/*"],
      "js": ["chrome-specific/a.js", "chrome-specific/b.js"]
    }
  ]
}
NekitCorp commented 2 years ago

I'm sorry, but I think this is out of the scope of this boilerplate project.