Closed waset closed 5 months ago
The update improves the handling of manifest JSON file generation by adding a newline character at the end of the file in the ManifestContext
class and introduces a new optional newline
property in the Options
interface in src/types.ts
, enhancing configuration flexibility.
File Path | Change Summary |
---|---|
src/context.ts |
Updated WriteManifestJSON to include a newline at the end of the file and improve configuration content string generation. |
src/types.ts |
Added a new optional property newline of type boolean to the Options interface. |
pages.config.js
, which causes frequent git change detections.🐇✨ A little tweak here, a small fix there, New lines at the end, now files are fair. Hop, hop, hop, on code we improve, In the digital burrow, we make our move. 🌟📝
@KeJunMao 麻烦处理一下
Description 描述
生成的 manifest.json 文件最后增加空白换行符
问题 在使用 eslint 时会报错:
Summary by CodeRabbit
WriteManifestJSON
method in theManifestContext
class for better configuration content generation.newline
property to theOptions
interface insrc/types.ts
.UniManifest
regarding minification and newline characters inmanifest.json
.