包详细信息

interweave-ssr

milesj27.1kMIT2.0.0

Server-side rendering support for Interweave.

interweave, react, ssr

自述文件

Interweave SSR

Build Status npm version npm deps

Polyfills parts of the DOM so that Interweave can be server-side rendered.

import { polyfill } from 'interweave-ssr';

polyfill();

Installation

yarn add interweave-ssr --dev
// Or
npm install interweave-ssr --save-dev

Documentation

https://interweave.dev/docs/ssr

更新日志

2.0.0 - 2022-03-04

💥 Breaking

  • Dropped Node.js v10 support.
  • Removed polyfillDOMImplementation function.

📦 Dependencies

  • Updated to latest packemon.

🛠 Internals

  • Migrated to Beemo for build and developer tooling.

1.2.1 - 2021-03-07

🐞 Fixes

  • Include source folder for source maps work correctly.

1.2.0 - 2021-01-18

🛠 Internals

  • Switched to Packemon for package building.

1.1.1 - 2020-11-04

🐞 Fixes

  • Fixed a node type typo.

1.1.0 - 2020-03-19

🚀 Updates

  • Added a new polyfill function that doesn't create a global document.
  • Migrated build to Rollup for a smaller filesize.

1.0.0 - 2019-10-29

🎉 Release

  • Initial release!