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

Only 1 output file ? #5

Open
samche2000 opened this issue Jun 15, 2021 · 0 comments
Open

Only 1 output file ? #5

samche2000 opened this issue Jun 15, 2021 · 0 comments

Comments

@samche2000
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant