Sentence Follower is a browser extension that helps you follow along with long-form text content by identifying and highlighting the sentence under your cursor.
This extension uses webpack for building and managing environment-specific features.
npm run build:dev: Creates a development build with debug logging enablednpm run build:prod: Creates a production build with debug logging disablednpm run start:firefox: Builds for development and starts Firefox with the extension loadednpm run zip:chrome: Creates a production build and zips it for Chrome publishingnpm run publish:chrome: Creates a production build and publishes to Chrome Web Storenpm run publish:mozilla: Creates a production build and publishes to Firefox Add-ons
The extension uses a centralized logging utility with environment-based configuration:
- In development builds, all debug logs are enabled
- In production builds, all debug logs are automatically removed
For more details, see LOGGING.md.