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

xt-build generates incompatible output (us-ascii character set instead of utf-8) #195

Open
aendra-rininsland opened this issue Nov 1, 2022 · 0 comments

Comments

@aendra-rininsland
Copy link

Describe the bug
Some part of the code generation side of this tool converts the character set from UTF-8 to us-ascii, resulting in errors like the following:

image

Running file -I dist/content.js returns:

dist/content.js: text/plain; charset=us-ascii

This has effectively stopped me in my tracks and ended my use of this tool — I'm not remotely pleased at having to re-scaffold my project right now.

To Reproduce
Steps to reproduce the behavior:

  1. Scaffold
  2. npm start
  3. Load unpacked extension in Chrome; navigate to dist/
  4. See error

Expected behavior
The in-dev extension loaded in Chrome

Desktop (please complete the following information):

  • OS: MacOS 12.6
  • Browser Chrome
  • Version 106.0.5249.119
  • Node.js 16.13.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant