You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
I did not find any solution on how to remove this! It even states in a comment above the line: "// For security concerns, we use only base name in production mode.". This is not the case however!
Pass additional settings to the config file via process.ENV.
rollup -c --environment BUILD:production
will set process.env.BUILD === 'production'. This enables you for instance to overwrite environment variables in package.json scripts:
Activity
znck commentedon Jan 14, 2019
https://rollupjs.org/guide/en#command-line-flags
🐛 Set `NODE_ENV` to `production` when bundle