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

Define output path #7

Closed
DigiLive opened this issue Jul 11, 2019 · 2 comments
Closed

Define output path #7

DigiLive opened this issue Jul 11, 2019 · 2 comments

Comments

@DigiLive
Copy link

Is there a way to define the output path of the minified file?
E.g.
Input: ./src/js/file.js
Output: ./dist/file.min.js

@mnlipp
Copy link
Owner

mnlipp commented Jul 11, 2019

No. And it wouldn't really be a good idea. The assumption is that a user of this plugin doesn't create the minified version as part of some reproducible build process (e.g. using gradle). Rather, the minified version is assumed to be source code (and must be mainteined in the SCR). That's why it should remain in a source directory.

@DigiLive
Copy link
Author

DigiLive commented Aug 22, 2019

It might not be a good idea to you for your use cases, but for others it might be desired because they have other use cases.

Would it hurt to add the option anyway for people who do want to define to output path?
You can always default to the same path as the un-minified 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

2 participants