+
Skip to content

Conversation

st3h3n
Copy link
Contributor

@st3h3n st3h3n commented Aug 31, 2025

PR Checklist

Closes #1847

What is the new behavior?

Defaults are added back. Note that I didn't add tests, because I have no idea how that could be tested or whether it even should be. Also I didn't investigate whether adding 'style' is even necessary and just assumed it to be correct. If it isn't, the entire block could be removed instead, as there is a fallback to the defaults in that case.

Does this PR introduce a breaking change?

  • Yes, in theory
  • No, in practice

The fact that this was not done when upgrading to Vite 6 was a breaking change. So if at all this could only be a breaking change for people who somehow started relying on the broken behavior since then. Because people might have used now obsolete workarounds, it's definitely worth adding a note though.

Copy link

netlify bot commented Aug 31, 2025

Deploy Preview for analog-docs ready!

Name Link
🔨 Latest commit 48efc18
🔍 Latest deploy log https://app.netlify.com/projects/analog-docs/deploys/68b3e391d64c4b00088b5bfe
😎 Deploy Preview https://deploy-preview-1862--analog-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Aug 31, 2025

Deploy Preview for analog-app ready!

Name Link
🔨 Latest commit 48efc18
🔍 Latest deploy log https://app.netlify.com/projects/analog-app/deploys/68b3e3919b43b70008eb20cb
😎 Deploy Preview https://deploy-preview-1862--analog-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Aug 31, 2025

Deploy Preview for analog-blog ready!

Name Link
🔨 Latest commit 48efc18
🔍 Latest deploy log https://app.netlify.com/projects/analog-blog/deploys/68b3e39144f6fb0008785aee
😎 Deploy Preview https://deploy-preview-1862--analog-blog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Aug 31, 2025

Deploy Preview for analog-ng-app ready!

Name Link
🔨 Latest commit 48efc18
🔍 Latest deploy log https://app.netlify.com/projects/analog-ng-app/deploys/68b3e3918dfd3100073c8648
😎 Deploy Preview https://deploy-preview-1862--analog-ng-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@brandonroberts
Copy link
Member

Thanks @st3h3n. This actually fixes an issue we were having in another repo with the Medusa JS SDK where it wasn't importing ESM by default.

@brandonroberts brandonroberts merged commit 64eb034 into analogjs:beta Aug 31, 2025
22 checks passed
@st3h3n
Copy link
Contributor Author

st3h3n commented Aug 31, 2025

Oh yea, I could have added that to the description, because that turned out to be the same problem for me. The tslib exceptions mentioned in the issue, were caused because default: "./tslib.js" was imported rather than module.default: "./tslib.es6.mjs". Well I guess now you can remove an obsolete workaround just like I mentioned above 😁.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vite-plugin-angular potentially breaks vite's export resolution

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载