Dev/Production mode #46

Closed
NV opened this Issue Aug 16, 2013 · 5 comments

Comments

Projects
None yet
3 participants

NV commented Aug 16, 2013

I want to compile Sass with source-maps for development mode and with --output-style=compact for production. Any examples of how to do it with jekyll-assets?

Member

ixti commented Aug 17, 2013

Separation of dev/prod modes is possible with using different jekyll configs e.g.: jekyll server --config _config.dev.yml. But source maps of SASS are not implemented. I'll take a look on this weekend.

NV commented Aug 17, 2013

I know I can use different configs, but can I configure in _config.yml which flags (e.g. --sourcemap and --output-style=compact) go to SASS compiler?

Member

ixti commented Aug 17, 2013

Not yet. Will try to jump on this during this weekend.

Member

ixti commented Aug 17, 2013

There's a hackinsh (#4) way, but I hope I;m gonna fix that ASAP.

envygeeks added this to the v2.0.0 milestone Jul 17, 2015

envygeeks self-assigned this Jul 17, 2015

Member

envygeeks commented Jul 23, 2015

The "compact" portion is already solved, we compress automatically in production with the option to force that compression in development. I'm closing out this ticket (the source map part) in favor of the more direct ticket about it: jekyll-assets#151

envygeeks closed this Jul 23, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment