Bjorn Lu

Results 767 comments of Bjorn Lu

Isn't it a good thing that same content assets are deduped to reduce bundle size?

Thanks for the explanations. Yeah I think this makes sense to me too. It's rare for someone to have to completely equal assets, and if they did it's likely intended...

Is there a reason this is closed? I think the issue is valid.

> We (Astro) and other frameworks can fairly easily duplicate the file manually in our repos for now as a workaround I think this would be the way for now...

Hi @Marco-Prontera, just wanted to let you know that we've put this PR in the team discussion board. We'll try to get to it soon. Sorry for the long wait!

Sorry we've been busy with the Vite 3 release. Hoping we can finally take a look at this in the next team meeting 😬

We need tests for this. Feel free to send another PR that supersedes this with tests!

Is this still happening with the latest Vite version? The new optimizer might hide this issue unless you return to the old way with `legacy.buildRollupPluginCommonjs`.

@tajo Sorry i've been busy and missed this. I'm not familiar enough with plugin-react to know the context behind the code, but re `buildRollupPluginCommonjs: true` working for you, we will...

pnpm shouldn't install peer dependencies by default, unless you have [auto-install-peers](https://pnpm.io/npmrc#auto-install-peers) on? But even with that, the docs says it will install for non-optional ones only, which `foobar` is optional.