Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

danspam/CombresJSSourceMaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Combres JS SourceMaps

Combres Javascript Minifier for generating sourcemaps. The minifier is based on the existing AjaxMin minifier but it also generates sourcemaps for the compressed files when not in debug mode.

Usage

Add add a new javascript minifier to your combres.xml:

<jsMinifiers>
    <minifier name="msajaxMaps" type="CombresJSSourceMaps.SourceMapMinifier, CombresJSSourceMaps" binderType="Combres.Binders.SimpleObjectBinder, Combres">
        <param name="SourceMapOutputPath" type="string" value="~/js" />
    </minifier>
</jsMinifiers>

The SourceMapOutputPath is the path to where the sourcemap files will be written when the resourceSets are combined. This location must be accessible as a url from the website.

Specify the resourceSets in the combres.xml file that use this minifier:

<resourceSet name="fooJS" minifierRef="msajaxMaps" type="js">
    <resource path="~/js/foo.js" />
    <resource path="~/js/bar.js" />
</resourceSet>

About

Combres Javascript Minifier for Generating Sourcemaps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages