<commit_before>CombresJSSourceMaps
===================

Combres Javascript Minifier for Generating Sourcemaps

Add add a new jsMinifier to your combres.xml:

```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:

```XML
<resourceSet name="fooJS" minifierRef="msajaxMaps" type="js">
    <resource path="~/js/foo.js" />
    <resource path="~/js/bar.js" />
</resourceSet>
```<commit_msg>readme update<commit_after>Combres JS SourceMaps
===================

Combres Javascript Minifier for Generating Sourcemaps based on the existing AjaxMin minifier but also generates sourcemaps for the compressed files.

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

```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:

```XML
<resourceSet name="fooJS" minifierRef="msajaxMaps" type="js">
    <resource path="~/js/foo.js" />
    <resource path="~/js/bar.js" />
</resourceSet>
```
{'fraction_non_alphanumeric': 0.12241566920565833, 'fraction_numerical': 0.0, 'mean_word_length': 5.385416666666667, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3967417', 'n_tokens_mistral': 568, 'n_tokens_neox': 541, 'n_words': 176}