Code to reproduce parcel-bundler/parcel#6642 issue.
Install all dependencies with,
npm installAfter, run parcel serve command with,
npm startThen open your browser at http://localhost:1234 and observe in console Uncaught TypeError: _sdk is undefined error.
However, if you run,
npm run buildAnd then serve distribution with serve as follows,
npx serve -l tcp://localhost:1235/ ./dist/everything will work proper, and you will see the "Hello, world!" and info message in console, after opening http://localhost:1235.