Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
Strategies for optimising in production
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Adil" data-source="post: 291450" data-attributes="member: 3031"><p>When developing locally, I do not minify assets (my javascript and css files are usually formatted so they're easy to read and navigate). However, when I push my code to production this is an obvious stumbling block. My question is the following: how would I go about keeping my source code minified in production, but decompressed in development?</p><p></p><p>My initial idea was to use a git hook which would call a minifier and minify my assets. However, as I'm using AppEngine, I'm not in a position to do such a thing.</p><p>Any ideas?</p></blockquote><p></p>
[QUOTE="Adil, post: 291450, member: 3031"] When developing locally, I do not minify assets (my javascript and css files are usually formatted so they're easy to read and navigate). However, when I push my code to production this is an obvious stumbling block. My question is the following: how would I go about keeping my source code minified in production, but decompressed in development? My initial idea was to use a git hook which would call a minifier and minify my assets. However, as I'm using AppEngine, I'm not in a position to do such a thing. Any ideas? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
Strategies for optimising in production
Top