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

Configurable directory minification? (or, identify whether .min.js is from folder or file...) #47

Open
incredibleweirdo opened this issue Aug 12, 2019 · 0 comments

Comments

@incredibleweirdo
Copy link

In my project - an AngularJS SPA - I have it structured like so:

app/
 -- controllers/
 -- directives/
 -- factories/
 -- app.module.js
 -- controllers.js
 -- directives.js
 -- factories.js
scripts/  -- angularjs, other libraries here

I am not minifying the directories, only the individual files - including the 4 .js files in the top of the app folder. The issue is when I add or modify a file within any of the three directories inside of app/, the directories get minified automatically and are overwriting the minified versions of the controllers.js, directives.js, and factories.js files.
I can work around this by renaming the files or folders so their names no longer match, but my preference would be to just disable directory minification. Or for the extension to be aware that the minified file was from either a directory or a file.

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