extension-js / extension.js

🧩 Plug-and-play, zero-config, cross-browser extension development tool.
https://extension.js.org
MIT License
3.67k stars 93 forks source link

Support for installing and using npm packages in extensions #143

Closed FXT-SYSTEM closed 3 weeks ago

FXT-SYSTEM commented 1 month ago

I am a developer who has just come across this wonderful library package today. I am wondering if, while developing my extension with it, I can install other packages through a package manager like npm and require those packages in the source code of my extension to use them.

cezaraugusto commented 1 month ago

hello @FXT-SYSTEM! thanks for the kind words.

yes, totally possible! just use your existing package.json for that. If you want a template with pre-built solutions, you can try running extension create your-extension-name --template=<your_template_name>. You can see a list of them at https://extension.js.org/n/getting-started/templates/. Let me know if you need a hand!

cezaraugusto commented 3 weeks ago

Closing as not actionable. Feel free to create a new issue it there is something else you want to ask/report. Thanks!