Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix internal property names #377

Merged
merged 2 commits into from
Jul 6, 2023
Merged

Fix internal property names #377

merged 2 commits into from
Jul 6, 2023

Conversation

andrewiggins
Copy link
Member

I forgot to include the mangle.json pointer in the new package.json so some property names weren't being properly mangled.

Note: no tests fail because currently @preact/signals-react bundles the runtime package inside of it's bundled output and those properties are mangled - it doesn't import from /runtime. I left that as is for now since the /runtime package is intended to be an internal detail that will likely change in the future. I discovered this while working on the babel transform which does import from /runtime directly.

@changeset-bot
Copy link

changeset-bot bot commented Jun 29, 2023

🦋 Changeset detected

Latest commit: f8357cb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@preact/signals-react Patch

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

@netlify
Copy link

netlify bot commented Jun 29, 2023

Deploy Preview for preact-signals-demo ready!

Name Link
🔨 Latest commit f8357cb
🔍 Latest deploy log https://app.netlify.com/sites/preact-signals-demo/deploys/64a6e2b01737ea0008ecdbae
😎 Deploy Preview https://deploy-preview-377--preact-signals-demo.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 site configuration.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 29, 2023

Size Change: -7 B (0%)

Total Size: 69.3 kB

Filename Size Change
docs/dist/assets/client.********.js 46.6 kB +2 B (0%)
docs/dist/nesting-********.js 1.13 kB -1 B (0%)
docs/dist/react-********.js 238 B -1 B (0%)
packages/react/dist/signals.js 1.25 kB -3 B (0%)
packages/react/dist/signals.mjs 1.2 kB -4 B (0%)
ℹ️ View Unchanged
Filename Size
docs/dist/assets/index.********.js 1.08 kB
docs/dist/assets/jsxRuntime.module.********.js 282 B
docs/dist/assets/preact.module.********.js 4 kB
docs/dist/assets/signals-core.module.********.js 1.42 kB
docs/dist/assets/signals.module.********.js 1.98 kB
docs/dist/assets/style.********.js 21 B
docs/dist/assets/style.********.css 1.21 kB
docs/dist/basic-********.js 244 B
docs/dist/demos-********.js 3.35 kB
packages/core/dist/signals-core.js 1.48 kB
packages/core/dist/signals-core.mjs 1.5 kB
packages/preact/dist/signals.js 1.21 kB
packages/preact/dist/signals.mjs 1.15 kB

compressed-size-action

@andrewiggins andrewiggins merged commit f4ff0ab into main Jul 6, 2023
7 checks passed
@andrewiggins andrewiggins deleted the fix-mangle-props branch July 6, 2023 16:00
@github-actions github-actions bot mentioned this pull request Jul 6, 2023
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.

None yet

3 participants