rehype-minify

plugins to minify HTML

MIT License

Downloads
23.1M
Stars
90
Committers
6

Bot releases are hidden (Show)

rehype-minify - [email protected] Latest Release

Published by wooorm about 1 month ago

  • 29fd94a Refactor to externalize hast-util-minify-whitespace

Full Changelog: https://github.com/rehypejs/rehype-minify/compare/[email protected]@6.0.1

rehype-minify - [email protected]

Published by wooorm about 1 month ago

rehype-minify - [email protected]

Published by wooorm about 1 month ago

Add

  • 72c2051 Add support for test

Full Changelog: https://github.com/rehypejs/rehype-minify/compare/[email protected]@6.1.0

rehype-minify - [email protected]

Published by wooorm 12 months ago

rehype-minify - 7.0.0

Published by wooorm about 1 year ago

Change

  • ebf43e7 Update unified, @types/hast, utilities, etc
    migrate: update too
  • 3cf2c29 Change to require Node.js 16
    migrate: update too
  • f9fab12 Change to use exports
    migrate: don’t use private APIs
  • 6724645 rehype-minify-doctype: remove
    migrate: it’s not possible to use weird doctypes, use xast if you want xml
  • 1635e2f hast-util-from-string: remove return value
    migrate: keep a reference to the changed node around

Full Changelog: https://github.com/rehypejs/rehype-minify/compare/6.0.0...7.0.0

rehype-minify - [email protected]

Published by wooorm over 2 years ago

  • ca840b0 Fix to not collapse in script, style
rehype-minify -

Published by wooorm about 3 years ago

  • 190ced9 Fix link[rel=canonical]
rehype-minify -

Published by wooorm about 3 years ago

  • 4e5b583 Externalize schema as html-enumerated-attributes
  • 3d42055 Add support for selectors
  • b34a034 Update to improved schema
rehype-minify -

Published by wooorm about 3 years ago

✨

rehype-minify -

Published by wooorm about 3 years ago

  • 25b256a Add support for file.data.meta
rehype-minify -

Published by wooorm about 3 years ago

Changes

  • 88493cb Add JSDoc based types

  • 964b3ea Use ESM

    • Change:

      // Presets and plugins use default exports:
      // From CommonJS
      var rehypePresetMinify = require('rehype-preset-minify')
      
      // To ESM
      import rehypePresetMinify from 'rehype-preset-minify'
      
      // Utilities use specifiers:
      var toString = require('hast-util-to-string') //=> import {toString} from 'hast-util-to-string'
      

    Learn more about ESM in this guide

Patches

  • e76189a Update readmes
  • ecba958 Refactor code-style
  • fcfb86e Update dependencies
  • f7812a9 f945aef Remove x-is-array, trim, uniq dependency
rehype-minify -

Published by wooorm over 3 years ago

  • 97add13 Update trim
rehype-minify -

Published by wooorm over 3 years ago

  • 97add13 Update trim
rehype-minify -

Published by wooorm almost 4 years ago

  • a3a64e9 Add loading, type
rehype-minify -

Published by wooorm almost 4 years ago

  • 446f9cb Update trim
rehype-minify -

Published by wooorm almost 4 years ago

  • 446f9cb Update trim
rehype-minify -

Published by wooorm almost 4 years ago

  • 446f9cb Update trim
rehype-minify -

Published by wooorm almost 4 years ago

  • 446f9cb Update trim
rehype-minify -

Published by wooorm about 4 years ago

  • 6c21887 Add rehype-minify-language
rehype-minify -

Published by wooorm about 4 years ago

💯