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
The current implementation of tree shaking supports sideEffects: false, but some libraries need more fine grained control to allow a subset of files to include side effects. webpack allows this by supporting an array of files which contain side effects.
{
"sideEffect": ["./foo.js", "./bar.js"]
}
For compatibility with libraries that depend on this, we should support it in Parcel as well.
The text was updated successfully, but these errors were encountered:
The current implementation of tree shaking supports
sideEffects: false
, but some libraries need more fine grained control to allow a subset of files to include side effects. webpack allows this by supporting an array of files which contain side effects.For compatibility with libraries that depend on this, we should support it in Parcel as well.
The text was updated successfully, but these errors were encountered: