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

autocompile minified files in koala-config.json #678

Open
stefansicher opened this issue Sep 23, 2017 · 2 comments
Open

autocompile minified files in koala-config.json #678

stefansicher opened this issue Sep 23, 2017 · 2 comments

Comments

@stefansicher
Copy link

stefansicher commented Sep 23, 2017

I'm using the koala-config.json for the first time.
Setting output paths and autocompile for my scss files works great using mappings.

"mappings": [
		 {
		 	"src": "source/scss",
		 	"dest": "css"
		 }
	],

But now I would like to automatically compress the css files with Output Style yuicompress. (style.css -> style.min.css)
I would like to keep the non-compressed css files as they come in handy in the development environment.

Unfortunately there is no example in the documentation on how to use "customOptions": [],
Looking at the source files it looks like "customOptions": ["--style"], should be a good start, but then I got stuck again and wasn't able to set autocompile and yuicompress.

I don't know how to create a proper koala-config.json and setting autocompile and output style in the gui is getting annoying. Saving the koala-config.json overwrites the autocompile and output style I've set in the gui.

If the Koala App could write autocompile, options, and output style into the koala-config.json that would be great. Or can someone help with with an example on how to define this in the config file?

@stefansicher
Copy link
Author

I have update the issue description, does anyone have a solution for this? I think Koala App is a great tool, but the documentation is somehow limited and I don't know how to do this using the config file.

@joaopedroraldi
Copy link

+1

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