chrome-extensions-samples icon indicating copy to clipboard operation
chrome-extensions-samples copied to clipboard

During Manifest V3 chrome extension development, how to include and use other js files into the extension?

Open dawangda opened this issue 1 year ago • 1 comments

During Manifest V3 chrome extension development, how to include and use other js files into the extension, such as seajs , jquery , and many other js libraries? Thanks.

dawangda avatar Sep 10 '22 09:09 dawangda

You can include the files in extension folder or use import or fetch().

guest271314 avatar Sep 24 '22 14:09 guest271314

can you provide a simple, working example, I think I know the solution.

firatsarlar avatar Feb 08 '23 17:02 firatsarlar

You would just include the static file in the project's directory.

patrickkettner avatar Dec 04 '23 11:12 patrickkettner