An Extension.js example.
In the project directory, you can run the following scripts:
Development Mode: This command runs your extension in development mode. It will launch a new browser instance with your extension loaded. The page will automatically reload whenever you make changes to your code, allowing for a smooth development experience.
pnpm dev
Production Preview: This command runs your extension in production mode. It will launch a new browser instance with your extension loaded, simulating the environment and behavior of your extension as it will appear once published.
pnpm start
Build for Production: This command builds your extension for production. It optimizes and bundles your extension, preparing it for deployment to the target browser's store.
pnpm build
To learn more about creating cross-browser extensions with Extension.js, visit the official documentation.