在没有捆绑器的情况下使用时出现参考错误
作者: blikblum创建于 2022年2月6日更新于 2025年11月12日
我正在尝试在没有束合器的情况下使用 nanostores (使用 https://modern-web.dev/docs/dev-server/overview/ ) 但是我收到 Uncaught ReferenceError: process is not defined (行 https://GitHub.com/nanostores/nanostores/blob/main/atom/index.js#L50) 这发生是因为浏览器在全局作用域中没有定义 `process`
内容来源: nanostores/nanostores