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

How to dynamically include js and css build by create-react-app in manifest.json

Open schuchowsky opened this issue 9 years ago • 0 comments

Hi!

I've found your project while searching for answers for my project. I'm building a chrome extension with react, and I used create-react-app for build.

Currently I'm trying to use a content script which includes js and css built by create-react-app build. But the file names change every build, so I have to change it manually in the manifest.json file.

I know that it's not related to your project, but maybe you could give any ideas about how to solve this? Please refer to the images below:

image

image

schuchowsky avatar Sep 09 '16 21:09 schuchowsky