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

What is short_name ? #25

Closed
subins2000 opened this issue Mar 31, 2020 · 4 comments
Closed

What is short_name ? #25

subins2000 opened this issue Mar 31, 2020 · 4 comments
Labels
type: question or discussion Issue discussing or asking a question

Comments

@subins2000
Copy link

In manifest/index.js, there's the field short_name. What is it for ?

@abhijithvijayan
Copy link
Owner

abhijithvijayan commented Mar 31, 2020

It is used when the name is too long

Like when you hover or the icon or something.

You can checkout the documentation here

Also, please do note that, the underlying package wext-manifest requires a js file to generate the manifest files(for now)

This will be changed in the upcoming version for which I am planning to be release as a webpack loader (under wext-manifest-loader) which resolves the issue of keeping the manifest.json/index.js. Instead it can be kept as manifest.json with browser specific contents which will be autobundled correctly.

@abhijithvijayan
Copy link
Owner

The migration will be as simple as

  • removing and installing new loader package
  • move contents to manifest.json
  • deleting js file
  • replacing entry in webpack config

@abhijithvijayan abhijithvijayan added the type: question or discussion Issue discussing or asking a question label Mar 31, 2020
@abhijithvijayan
Copy link
Owner

@subins2000 I will be closing this for now.

Feel free to reopen if any such questions are raised.

Thanks.

@subins2000
Copy link
Author

Got it. Thank you for the quick reply !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question or discussion Issue discussing or asking a question
Projects
None yet
Development

No branches or pull requests

2 participants