Skip to content

refactor(language-service): process references data at runtime to reduce bundle size #5054

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

Merged
merged 6 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: type and lint
  • Loading branch information
KazariEX committed Dec 15, 2024
commit ee2e053d97464eaa1e2ddfa95fc97c194ff2f8e6
2 changes: 1 addition & 1 deletion packages/language-service/lib/plugins/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,4 @@ function resolveReferences(data: html.HTMLDataV1) {
url: url + item.__reference
}));
}
}
}
2 changes: 1 addition & 1 deletion packages/language-service/scripts/update-html-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ async function templateWorker(lang) {
const lines = section.split('\n');
const name = 'data-allow-mismatch';
/**
* @type {import('vscode-html-languageservice').ITagData}
* @type {import('vscode-html-languageservice').IAttributeData}
*/
const data = {
name,
Expand Down
Loading