Reference error when using without a bundler
Author: blikblumCreated Feb 6, 2022Updated Nov 12, 2025
I'm trying to use nanostores without a bundler (using https://modern-web.dev/docs/dev-server/overview/)
I'm getting Uncaught ReferenceError: process is not defined (Line https://github.com/nanostores/nanostores/blob/main/atom/index.js#L50)
This occurs because browsers do not define process in global scope
Source: nanostores/nanostores