Closed adamsoderstrom closed 4 weeks ago
Latest commit: 3d2c3391787bb03628f6c3cdae209308e0e23f24
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Prior to this commit, we've had an issue where directives like
"use client"
gets stripped out of thechunk-*
files created in thedist
folder, when specifyingbundle: true
intsup.config.ts
. I tried to trace this issue and found a corresponding one in theesbuild
repo (0). In that, i found that @Seojunhwan had created a ESBuild plugin (1) that resolves this issue. Though, as of this writing, the plugin doesn't support single-quote directives, which we have in our repository. I forked the repo and submitted a PR for that (2). Until then, i've published my fix under my personal namespace and use it here.