Skip to content

Error: Minify content write to both correct file and wrong file #57

@lordskynner

Description

@lordskynner

The minified content of index.js is write to both index.min.js, and modal.min.js, that contains same name of parent folder of index.js

Step to reproduce
1 - Set config "minify.minifyExistingOnSave": true
2 - Create structure like screenshot above
3 - Edit and minify index.js
The content minified of index.js will be written to both index.min.js and modal.min.js.
image

Result after minification
image

Minify: 0.4.3
OS: windows 10 Build 19041.572
VSCode:
Version: 1.50.1
Commit: d2e414d9e4239a252d1ab117bd7067f125afd80a
Date: 2020-10-13T15:06:15.712Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19041

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions