-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
feat: improve minification for --target es5
#664
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
test/index.test.ts
Outdated
@@ -713,7 +713,7 @@ test('decorator metadata', async () => { | |||
}`, | |||
}) | |||
const contents = await getFileContent('dist/input.js') | |||
expect(contents).toContain(`Reflect.metadata("design:type"`) | |||
expect(contents).toContain(`metadata("design:type"`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After upgrading @swc/core
, Reflect.metadata
changes to __metadata
package.json
Outdated
@@ -42,7 +42,7 @@ | |||
}, | |||
"devDependencies": { | |||
"@rollup/plugin-json": "4.1.0", | |||
"@swc/core": "1.2.126", | |||
"@swc/core": "1.2.206", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@swc/core
is upgraded to ensure correct typing for swc.transform
🎉 This PR is included in version 6.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Given command below:
Before PR, result was:
After PR, result will be: