This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
process.env.NODE_ENV !== "production"
statements in output makes it incompatible in browser
#2603
Closed
1 of 3 tasks
Description
When I bundle a package that imports
@ark-ui/solid
with the following Rollup config:The produced
web.js
file containsprocess.env.NODE_ENV !== "production"
statements that come directly from the dist files from ark solid package.When importing that file as a module in a browser, it will say "process is not defined"
Link to Reproduction (or Detailed Explanation)
https://github.com/baptisteArno/typebot.io
Steps to Reproduce
packages/embeds/js
pnpm run build
Ark UI Version
3.3.0
Framework
Browser
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: