Skip to content

2.0.1 Release

Latest
Compare
Choose a tag to compare
@awsr awsr released this 22 Oct 11:58
· 4 commits to main since this release
4bd6eba

2.0.1 hotfix

  • Include updated removeDisplayNone behavior in readme.

Important

PostHTML-Retag is now accessed via the retag named import!

Use one of the following:

import { retag } from "posthtml-retag";
const { retag } = require("posthtml-retag");

  • Plugin will not remove display: none when it's set as !important.
  • Standardize to named export/import.
  • Update dependencies.
  • Update to modern tsconfig, package.json, and Node module syntax.
  • Add JSDoc info.
  • Actually have tests to make sure nothing broke.