getsentry/sentry-javascript-bundler-plugins#460
Steps to reproduce issue:
- Install dependencies
# npm
npm install
- Start development server on
http://localhost:3000
:
# npm
npm run dev
-
Open
http://localhost:3000
in browser. (I've been using Chrome Version 124.0.6367.79) -
Open Developer Tools -> "Console" tab
-
You should see error
dev-sw.js?dev-sw:99 Uncaught SyntaxError: Cannot use import statement outside a module (at dev-sw.js?dev-sw:99:2)
-
Go to Developer Tools -> "Application" tab
-
You should see a service worker for
http://localhost:3000/
with a "Status" of "#xxx is redundant"