console.log drop on prod build

If Plasmo uses Parcel 2. Is it possible to drop console.log on prod build? https://github.com/parcel-bundler/parcel/issues/628 Seems that Parcel has this flag by default Thank you
GitHub
??? console disappeared. · Issue #628 · parcel-bundler/parcel
.babelrc: { "presets": ["env", "react"] } command: parcel build ./index.js -d ./public code: import React from 'react'; import { render } from 'react-dom&#...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server