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

.woff2 extension missing in VsixManifestBuilder.CONTENT_TYPE_MAP #467

Open
mmaitre314 opened this issue Sep 8, 2024 · 1 comment
Open

Comments

@mmaitre314
Copy link

When creating the vsix package of an ADO extension, the CLI warns that .woff2 is missing a content type. It looks like this should be added in VsixManifestBuilder.CONTENT_TYPE_MAP, likely mapped to font/woff2.

> npx tfx extension create --manifests azure-devops-extension-dev.json --no-color
TFS Cross Platform Command Line Interface v0.17.0
Copyright Microsoft Corporation
warning: Could not determine content type for extension .woff2. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.

The warning asks to set the contentType property in the files section but it does not seem that wildcards can be used there.

@DmitriiBobreshev
Copy link
Contributor

Hi @mmaitre314, thank you for the feedback, we will take a look

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

No branches or pull requests

2 participants