Skip to content

Latest commit

 

History

History

dist

Build Process

Distribution location of compiled, bundled, transpiled, and compressed files.

📖 Please see /bin/README.md For a list of bin scripts used within the build pipeline.

Glossary

ECMAScript Standardization

Solves the "Duplicate Directory" problem - https://github.com/dherman/defense-of-dot-js/blob/master/proposal.md#poly-packages

References

Javascript Standardization

snuggsi.min.es.br

Mime Type : application/ecmascript (Specification)

Weight : ~ 1,469 OCTETS (1.3kiloBytes)

snuggsi.min.js.br

Mime Type : application/javascript (Specification)

Weight : ~ 1,726 OCTETS (1.6kiloBytes)

Networking

Pipeline

ECMAScript Bundle (snuggsi.es)

Mime Type : application/ecmascript (Specification)

snuggsi.es (bundled)

elements/*.es ➡️ snuggsi.es

ECMAScript 5 Transpilation (snuggsi.js)

Mime Type : application/javascript (Specification)

File Extension: .js

snuggsi.js

snuggsi.es ➡️ snuggsi.js

Minification (snuggsi.min.es) & (snuggsi.min.js)

Mime Type : application/ecmascript (Specification)

Mime Type : application/javascript (Specification)

snuggsi.es ➡️ snuggsi.min.es

(Uses Uses uglify-es)

snuggsi.js ➡️ snuggsi.min.js

(Uses UglifyJS)

Compression

⚠️ Please read why Internet Explorer won't let DEFLATE be great. here ,here , here ,and here ⚠️

snuggsi handles the following content encoding tokens:

Brotli Compression (snuggsi.min.br)

snuggsi.min.es ➡️ snuggsi.min.es.br

snuggsi.min.js ➡️ snuggsi.min.js.br

Links

Server Support

Browser Support

  • http://caniuse.com/#search=brotli
  • Google Chrome has supported Brotli since version 49
  • Microsoft Edge supports Brotli since version 15
  • Mozilla Firefox implemented Brotli in version 44
  • Opera supports Brotli since version 36
  • Safari supports Brotli as of version 10, released September 20, 2016

Zopfli Compression (snuggsi.min.zo)

snuggsi.min.es ➡️ snuggsi.min.es.zo

snuggsi.min.js ➡️ snuggsi.min.js.zo

Links

GZip Compression rfc1952 (snuggsi.min.gz)

snuggsi.min.es ➡️ snuggsi.min.es.gz

snuggsi.min.js ➡️ snuggsi.min.js.gz

a gzip file/stream contains:

  • a 10-byte header, containing a magic number, a version number and a time stamp
  • optional extra headers, such as the original file name,
  • a body, containing a DEFLATE-compressed payload
  • an 8-byte footer, containing a CRC-32 checksum and the length of the original uncompressed data

Links

Server Support

Browser Support