extension-cli
extension-cli copied to clipboard
xt-build generates incompatible output (us-ascii character set instead of utf-8)
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:
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:
- Scaffold
npm start- Load unpacked extension in Chrome; navigate to
dist/ - 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