Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Only 1 output file ? #5

@samche2000

Description

@samche2000

Hello,

With this config file called .uglify.json :

{
  "pattern": "**/*[.js,.ts]",
  "options": {
    "UseMinExt": false,
    "MinifyOptions": {},
    "OutDir": "dist",
    "RootDir": "src",
    "RemoveSource": false,
    "Debug": false
  }
}

When I launch this command :

glob-uglifyjs -c .uglify.json

In my dist directory, i found all my .js and .ts files minified in the folder dist and his subfolders.

I want only 1 output file.

With uglify, I just need to use the -o command line options but this option doesn't work with glob-unify and I can't find an other way with uglify options to do this.

Any one has a solution ?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions