create-chrome-extension icon indicating copy to clipboard operation
create-chrome-extension copied to clipboard

Browser/page action assets aren't copied

Open rosszurowski opened this issue 7 years ago • 1 comments

It looks like assets referenced in manifest.json for a browser_action aren't getting copied over into the build folder.

So for a manifest like:

"browser_action": {
  "default_title": "Extension",
  "default_icon": {
    "19": "assets/icons/action/19.png",
    "38": "assets/icons/action/38.png"
  }
}

The 19.png and 38.png files don't get copied anywhere.

Looking at the source, it looks like this'll be the case for page actions too.

Copying files is easy enough to work around, but it'd be great to have this as part of the default behaviour!

rosszurowski avatar Sep 09 '16 03:09 rosszurowski

Ah, I see you've already noted this down in the "Future" section of the README.md:

allow to have "static" files which will be merged into build

rosszurowski avatar Sep 09 '16 05:09 rosszurowski