[Koha-bugs] [Bug 17243] git ignore swagger.min.json

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 29 09:40:21 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17243

--- Comment #10 from Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no> ---
(In reply to Jonathan Druart from comment #8)
> We could imagine an "environment" pref (or in the config) with 2 values
> "dev" or "prod" (default "prod").
> If "prod", the minified files are used (otherwise the non-minified).
> This could work for the css and swaggger min files.
> The RM(aints) will have to regenerated the min fils before each releases
> (automatically), but nothing to do for devs (no need to regenerated them)
> nor for testers (no conflict).

That is a very sensible suggestion!

Also since it is a general solution that can be used any other place where
compilation/minifying/regeneration would be neccessary in the future.
Especially in the javascript world and the coming of ES6 this would make sense,
as it would cover the need of browser shims and transpilation to code that
works across browsers.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list