Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: add @babel/plugin-proposal-decorators to babelBundle#532

Merged
mxschmitt merged 1 commit into
microsoft:mainfrom
mxschmitt:add-@babel/plugin-proposal-decorators
Sep 17, 2024
Merged

chore: add @babel/plugin-proposal-decorators to babelBundle#532
mxschmitt merged 1 commit into
microsoft:mainfrom
mxschmitt:add-@babel/plugin-proposal-decorators

Conversation

@mxschmitt

Copy link
Copy Markdown
Contributor

Comment thread src/babelBundle.ts

export { types as t } from '@babel/core';
import { parse } from '@babel/parser';
import { parse } from '@babel/core';

@mxschmitt mxschmitt Sep 17, 2024

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: The plugin format between @babel/parser and @babel/core are different, we use the @babel/core one in order to provide similar parsing capabilities compared to upstream Test Runner. We might should re-visit the plugins we add here, so they are aligned with upstream.

@mxschmitt mxschmitt force-pushed the add-@babel/plugin-proposal-decorators branch from db489bc to d076625 Compare September 17, 2024 19:57
Comment thread package.json
"@vscode/l10n-dev": "^0.0.24",
"@vscode/vsce": "^3.0.0",
"esbuild": "^0.15.15",
"esbuild": "^0.23.1",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to update esbuild in order to make it bundle browserslist. Browserslist is a dependency by node_modules/@babel/helper-compilation-targets.

@mxschmitt mxschmitt merged commit 8d5e8dc into microsoft:main Sep 17, 2024
@Skn0tt Skn0tt mentioned this pull request Oct 22, 2024
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.

[Bug]: VSCode locator highlighting does not work when using the test step decorator

2 participants