Compressing JS files as part of your build process(codebetter.com)

submitted by johnsheehanjohnsheehan(4785) 3 years, 1 month ago

Ideally, we want to develop using readable JavaScript files (even 3rd party files) and deploy compressed/obfuscated code. Our solution has simply been to apply a post-build task to our project. Here's what we did

1 comment |category: |Views: 381

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by offwhiteoffwhite(975) 3 years, 1 month ago 0

You may find that Packer for .NET is a better option with more features.

http://brennan.offwhite.net/blog/2008/11/23/packer-for-net-401-released/

It provides a simple MSBuild task to shrink your files in various modes like Packer, JSMin and CSSMin. You can also use the assembly as a dependency to shrink your files at runtime.

Reply

information Login or create an account to comment on this story